mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 382849 - "Wrong gzip comment process in HTTP Compress converter" [p=solar@netease.com (Solar) r=bzbarsky sr=biesi a1.9=sayrer]
This commit is contained in:
parent
7577e1827e
commit
fea6b01c13
@ -492,7 +492,7 @@ nsHTTPCompressConv::check_header(nsIInputStream *iStr, PRUint32 streamLen, nsres
|
||||
break;
|
||||
|
||||
case GZIP_COMMENT:
|
||||
if (mFlags & GZIP_COMMENT)
|
||||
if (mFlags & COMMENT)
|
||||
{
|
||||
iStr->Read(&c, 1, &rv);
|
||||
streamLen--;
|
||||
|
Loading…
Reference in New Issue
Block a user