You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/03/15 18:39:11 UTC
DO NOT REPLY [Bug 50935] New: Content-Encoding value returned by
apache is malformed
https://issues.apache.org/bugzilla/show_bug.cgi?id=50935
Summary: Content-Encoding value returned by apache is malformed
Product: Apache httpd-2
Version: 2.2.3
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_deflate
AssignedTo: bugs@httpd.apache.org
ReportedBy: dnessett@yahoo.com
This bug occurs on a site running the MediaWiki software and occurs for both MW
1.13.2 and 1.16.2. When a request to download a file is received, apache
returns a malformed Content-Encoding header value of ", gzip". This befuddles
some browsers (e.g., Safari, IE and Firefox), while others seem to silently
discard the leading comma (Opera and Chrome). The result is the file is
delivered to the host file system by the confused browsers in compressed form.
Since the site uses Squid, I confirmed that the problem also occurs when Squid
is bypassed.
Note: I attempted to read the bug writing help page
https://issues.apache.org/bugwritinghelp.html as I am a new bug reporter.
However, the link returns a 404 Not Found error. Here is some relevant
information that I can only suppose is useful:
Apache version: 2.2.3
PHP version: 5.3.5
OS: CentOS 5.5
Browser: various - example is for Firefox 3.6.13 running on Mac OS X 10.6.6
Here is the request and response headers (I have obscured some file and
cookie information using ellipses to ensure privacy - the output is from
HTTPFox running on Firefox):
(Request-Line) GET /wiki?title=Special:ConfirmAccounts/
editors&file=to...v.pdf HTTP/1.1
Host en.citizendium.org
User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
Referer http://en.citizendium.org/wiki?title=Special:ConfirmAccounts/
editors&acrid=...
Cookie __utma=184949757....
(Status-Line) HTTP/1.0 200 OK
Date Wed, 09 Mar 2011 01:27:46 GMT
Server Apache/2.2.3 (CentOS)
X-Powered-By PHP/5.3.5
Expires Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control no-cache, no-store, max-age=0, must-revalidate
Pragma no-cache
Content-Disposition inline;filename*=utf-8'en'to...v.pdf
Last-Modified Tue, 08 Feb 2011 05:25:51 GMT
Content-Encoding , gzip
Vary Accept-Encoding
Content-Length 48636
Content-Type application/pdf
X-Cache MISS from aristotle.citizendium.org
X-Cache-Lookup MISS from aristotle.citizendium.org:80
Via 1.0 aristotle.citizendium.org:80 (squid/2.6.STABLE21)
Connection keep-alive
Note that the Accept-Encoding header in the request specifies "gzip, deflate",
while the Content-Encoding value in the response is ", gzip". I posted a query
about the problem on
http://groups.google.com/group/comp.infosystems.www.servers.unix, but did not
receive a response. (I posted the query over three weeks ago).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50935] Content-Encoding value returned by apache
is malformed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50935
--- Comment #3 from Dan Poirier <po...@pobox.com> 2011-03-17 15:34:40 EDT ---
I just searched and didn't see any reports of this particular behavior either.
On the other hand, I saw multiple bugs that resulted in changes to how the
Content-Encoding header is handled, so I think verifying that this still occurs
on current code is reasonable.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50935] Content-Encoding value returned by apache
is malformed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50935
Joe Orton <jo...@redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Joe Orton <jo...@redhat.com> 2011-03-17 04:45:25 EDT ---
Unless you have reproduced this problem using 2.2.17 please report it to your
vendor rather than here. (There are known mod_deflate issues in 2.2.3 which
match the described symptoms.)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50935] Content-Encoding value returned by apache
is malformed
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50935
--- Comment #2 from Dan Nessett <dn...@yahoo.com> 2011-03-17 12:50:41 EDT ---
(In reply to comment #1)
> Unless you have reproduced this problem using 2.2.17 please report it to your
> vendor rather than here. (There are known mod_deflate issues in 2.2.3 which
> match the described symptoms.)
I searched the mod_deflate bugs looking for a duplicate before I submitted this
report and also after reading this resolved statement. I could find no bug that
mentioned the described symptoms. Would you specify the bug(s) you are
referring to?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org