[tbb-bugs] #29705 [Applications/Tor Browser]: Enable Brotli compression for .onion domains
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Sep 27 06:13:08 UTC 2019
#29705: Enable Brotli compression for .onion domains
--------------------------------------+---------------------------
Reporter: expyuzz4wqqyqhjn | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: #21728 | Points:
Reviewer: | Sponsor: Sponsor27
--------------------------------------+---------------------------
Comment (by gk):
Replying to [comment:6 willbarr]:
[snip]
> The second approach is rather hard, and it deviates a lot from upstream
firefox code base. I’ve found an example implementation, which enables
brotli on localhost by putting them into a “potentially trustworthy”
context”.
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1222541
>
> https://bug1222541.bmoattachments.org/attachment.cgi?id=9040956
Yes, we should use the "potentially trustworthy context" here. We got a
patch for that into Firefox a while back and use
`IsPotentiallyTrustworthyOnion()`.
https://searchfox.org/mozilla-
esr68/source/dom/security/nsMixedContentBlocker.cpp#389
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29705#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list