Pier Angelo Vendrame pushed to branch tor-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits: 66a32102 by guest475646844 at 2023-09-25T15:17:29+00:00 fixup! Bug 40458: Implement .tor.onion aliases
- - - - -
2 changed files:
- modules/libpref/Preferences.cpp - modules/libpref/init/StaticPrefList.yaml
Changes:
===================================== modules/libpref/Preferences.cpp ===================================== @@ -6186,7 +6186,10 @@ static bool ShouldSanitizePreference(const Pref* const aPref) { const auto* p = prefName; // This avoids clang-format doing ugly things. return !(strncmp("services.settings.clock_skew_seconds", p, 36) == 0 || strncmp("services.settings.last_update_seconds", p, 37) == 0 || - strncmp("services.settings.server", p, 24) == 0); + strncmp("services.settings.server", p, 24) == 0 || + // Prevent a crash in debug builds. Please refer to + // StaticPrefList.yaml, tor-browser#41165 and tor-browser!765 for details. + strncmp("browser.urlbar.onionRewrites.enabled", p, 36) == 0); } }
===================================== modules/libpref/init/StaticPrefList.yaml ===================================== @@ -1790,6 +1790,9 @@ value: true mirror: always
+# tor-browser#28005, tor-browser#40458: enable .tor.onion aliases by default. +# When they are enabled, the browser will need to refresh the alias lists by +# connecting to third parties periodically. - name: browser.urlbar.onionRewrites.enabled type: RelaxedAtomicBool value: true
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/66a32102...
tbb-commits@lists.torproject.org