Open Bug 1248577 Opened 10 years ago Updated 3 years ago

Firefox silently fails to decode more than 16 nested Content-Encoding: gzip,gzip...

Categories

(Core :: Networking: HTTP, defect, P5)

38 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: da-wgh, Unassigned)

Details

(Keywords: testcase, Whiteboard: [necko-would-take])

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Build ID: 20160207155849 Steps to reproduce: http://a-raspberry-pi-among-the-flower-pots.torlan.ru/hello.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz http://a-raspberry-pi-among-the-flower-pots.torlan.ru/hello.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz.gz The server sends "Hello world" string encoded with gzip multiple times. Content-Encoding is set to "gzip,gzip,gzip,..." (appropriate number of times). Actual results: The first link opens fine. The second one displays garbage. Expected results: I do admit that there should be sensible limit for nested Content-Encodings, however, Firefox should display a error message instead of returning garbage to the user.
Component: Untriaged → Networking: HTTP
Keywords: testcase
Product: Firefox → Core
Whiteboard: [necko-would-take]
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.