In server_content_encoding(), mark the content as taboo for filtering if SDCH compres...
authorFabian Keil <fk@fabiankeil.de>
Sun, 20 Mar 2011 11:50:28 +0000 (11:50 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 20 Mar 2011 11:50:28 +0000 (11:50 +0000)
commit1874e12a0343cc86935d5ce3b544b4b32359d703
tree0e216f79c84fe32ad561f3bfe215bde28af1b802
parentba08a5ee9e40d95bddd0fcfe2212bf368de36e42
In server_content_encoding(), mark the content as taboo for filtering if SDCH compression is used

If SDCH was combined with a supported compression algorithm,
we'd previously try to decompress it, when successful apply
the enabled filters and ditch the Content-Encoding header
even though the SDCH compression wasn't removed.

Reported by zebul666 in #3225863.

I get the impression that filtering SDCH-compressed content
actually isn't guaranteed to cause problems as long as the
client still gets a "Content-Encoding: sdch" header, so we
should probably eventually allow users who want to risk it
to do so by explicitly enforcing filtering.

While at it, mark a bunch of other, partly-related, problems
in server_content_encoding() that should be addressed someday.
parsers.c