Skip to content
Snippets Groups Projects
Verified Commit 05d20cc1 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

dropme! Bug 40458: Implement .tor.onion aliases

Bug 42354: Upstreamed the ShouldSanitizePreference refactor

Drop this commit on the rebase.
parent 0c55a36a
No related branches found
No related tags found
1 merge request!887Bug 42354: Cherry-pick the upstreamed refactor for ShouldSanitizePreference
......@@ -6171,10 +6171,7 @@ 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 ||
// 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);
strncmp("services.settings.server", p, 24) == 0);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment