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

Commits:

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) {