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

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



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-102.9.0esr-12.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • c1b352e3
    by Henry Wilkes at 2023-03-28T12:01:14+01:00
    fixup! Bug 40458: Implement .tor.onion aliases
    

1 changed file:

Changes:

  • browser/components/onionservices/OnionAliasStore.jsm
    ... ... @@ -183,7 +183,7 @@ class Channel {
    183 183
       }
    
    184 184
     
    
    185 185
       _makeMappings(rules) {
    
    186
    -    const toTest = /http[s]?:\/\/[a-zA-Z0-9\.]{56}.onion/;
    
    186
    +    const toTest = /^https?:\/\/[a-zA-Z0-9\.]{56}\.onion$/;
    
    187 187
         const mappings = [];
    
    188 188
         rules.rulesets.forEach(rule => {
    
    189 189
           if (rule.rule.length != 1) {
    

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