Skip to content

Update Mozilla's patch for Bug 1675054 to enable brotli encoding for HTTP onions as well

See #41141 (comment 2847944)

I think we they also be checking for .onion here ( similar to mixed content blocker https://searchfox.org/mozilla-central/source/dom/security/nsMixedContentBlocker.cpp#263 ). The mozilla patch( https://hg.mozilla.org/mozilla-central/rev/fc09cf8d7c91 ) just enables brotli encoding for loopback/localhost domains in addition to HTTPS, not for all secure contexts (so http .onion is missing out)

@tom please let me know if I'm misunderstanding the referenced patch

We should uplift any fix fro this.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information