[tor-commits] [tor-browser] 02/06: amend! Bug 40562: Added Tor-related preferences to 000-tor-browser.js

gitolite role git at cupani.torproject.org
Thu Nov 17 13:07:46 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.4.0esr-12.0-2
in repository tor-browser.

commit 8fc5b74f10c3cbe0611154169d9e8ae7aafdd2b0
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Tue Nov 15 10:20:50 2022 +0100

    amend! Bug 40562: Added Tor-related preferences to 000-tor-browser.js
    
    Bug 40562: Added Tor Browser preferences to 000-tor-browser.js
    
    Before reordering patches, we used to keep the Tor-related patches
    (torbutton and tor-launcher) at the beginning.
    After that issue, we decided to move them towards the end.
    
    In addition to that, we have decided to move Tor Browser-only
    preferences there, too, to make Base Browser-only fixups easier to
    apply.
---
 browser/app/profile/000-tor-browser.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/browser/app/profile/000-tor-browser.js b/browser/app/profile/000-tor-browser.js
index be6473555aa2..b8fd6e4e239d 100644
--- a/browser/app/profile/000-tor-browser.js
+++ b/browser/app/profile/000-tor-browser.js
@@ -35,10 +35,19 @@ pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-
 // Treat .onions as secure
 pref("dom.securecontext.allowlist_onions", true);
 
+// Disable HTTPS-Only mode for .onion domains (tor-browser#19850)
+pref("dom.security.https_only_mode.upgrade_onion", false);
+
+// tor-browser#22320: Hide referer when comming from a .onion address
+pref("network.http.referer.hideOnionSource", true);
+
 // Bug 40423/41137: Disable http/3
 // We should re-enable it as soon as Tor gets UDP support
 pref("network.http.http3.enabled", false);
 
+// 0 = do not use a second connection, see all.js and #7656
+pref("network.http.connection-retry-timeout", 0);
+
 #expand pref("torbrowser.version", __TOR_BROWSER_VERSION_QUOTED__);
 
 // Old torbutton prefs

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list