[tor-bugs] #22206 [Core Tor/Tor]: Fetching compressed consensus gives it uncompressed if Accept-Encoding header is specified
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed May 10 17:46:26 UTC 2017
#22206: Fetching compressed consensus gives it uncompressed if Accept-Encoding
header is specified
--------------------------+------------------------------------
Reporter: Sebastian | Owner: ahf
Type: defect | Status: closed
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution: fixed
Keywords: regression | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by yawning):
Replying to [comment:19 nickm]:
> Fixed in 8266d193a608
I'm not going to re-open this, but the behavior is still wrong in certain
cases.
Specifically, an error (or a double compressed payload) should be returned
when the `.z` request contains an `Accept-Encoding` header that specifies
anything other than `identity`/`deflate`. This may be contrived and not
worth worrying about, but the correct behavior (especially in the former
case) isn't that hard.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22206#comment:20>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list