Bug 49358 - ETag handling in mod_deflate
Summary: ETag handling in mod_deflate
Status: RESOLVED DUPLICATE of bug 39727
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_deflate (show other bugs)
Version: 2.2.11
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 07:20 UTC by Alain Knaff
Modified: 2010-05-29 08:25 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Knaff 2010-05-29 07:20:01 UTC
In 2.2.14, mod_deflate doesn't change ETag when it compresses output (... about which http://redbot.org complains: ETag is supposed to change between different representations).

In 2.2.11 on the other hand, mod_deflate does change ETag, but in a bad way:

Before compression:

"a2c00a-ef7-486bb5bae5280"

After compression:

"a2c00a-ef7-486bb5bae5280"-gzip


... but it really should be:

"a2c00a-ef7-486bb5bae5280-gzip"

(ETag is supposed to be a quoted string, so there shouldn't be parts of the string outside of quotes...)
Comment 1 Rainer Jung 2010-05-29 08:25:04 UTC
Note that the original fix included in 2.2.8 introduced another problem:

https://issues.apache.org/bugzilla/show_bug.cgi?id=45023
https://issues.apache.org/bugzilla/show_bug.cgi?id=47253

so it got reverted before version 2.2.12:

http://svn.apache.org/viewvc?view=revision&revision=761835

The whole problem is discussed in BZ 39727 and

http://marc.info/?t=116545219400003&r=1&w=2
http://marc.info/?t=118821803900003&r=1&w=2
http://marc.info/?t=119141796500004&r=1&w=2

*** This bug has been marked as a duplicate of bug 39727 ***