[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.3.0esr-13.0-1] fixup! Bug 40458: Implement .tor.onion aliases



Title: GitLab

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:

Changes:

  • modules/libpref/Preferences.cpp
    ... ... @@ -6186,7 +6186,10 @@ static bool ShouldSanitizePreference(const Pref* const aPref) {
    6186 6186
           const auto* p = prefName;  // This avoids clang-format doing ugly things.
    
    6187 6187
           return !(strncmp("services.settings.clock_skew_seconds", p, 36) == 0 ||
    
    6188 6188
                    strncmp("services.settings.last_update_seconds", p, 37) == 0 ||
    
    6189
    -               strncmp("services.settings.server", p, 24) == 0);
    
    6189
    +               strncmp("services.settings.server", p, 24) == 0 ||
    
    6190
    +               // Prevent a crash in debug builds. Please refer to
    
    6191
    +               // StaticPrefList.yaml, tor-browser#41165 and tor-browser!765 for details.
    
    6192
    +               strncmp("browser.urlbar.onionRewrites.enabled", p, 36) == 0);
    
    6190 6193
         }
    
    6191 6194
       }
    
    6192 6195
     
    

  • modules/libpref/init/StaticPrefList.yaml
    ... ... @@ -1790,6 +1790,9 @@
    1790 1790
       value: true
    
    1791 1791
       mirror: always
    
    1792 1792
     
    
    1793
    +# tor-browser#28005, tor-browser#40458: enable .tor.onion aliases by default.
    
    1794
    +# When they are enabled, the browser will need to refresh the alias lists by
    
    1795
    +# connecting to third parties periodically.
    
    1793 1796
     - name: browser.urlbar.onionRewrites.enabled
    
    1794 1797
       type: RelaxedAtomicBool
    
    1795 1798
       value: true
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits