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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.16.0esr-13.5-1] fixup! Bug 40597: Implement TorSettings module



Title: GitLab

ma1 pushed to branch tor-browser-115.16.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 8dbe6b39
    by hackademix at 2024-10-21T11:02:24+02:00
    fixup! Bug 40597: Implement TorSettings module
    

1 changed file:

Changes:

  • toolkit/modules/TorConnect.sys.mjs
    ... ... @@ -1301,7 +1301,15 @@ export const TorConnect = {
    1301 1301
       // which redirect after bootstrapping
    
    1302 1302
       getURIsToLoad(uriVariant) {
    
    1303 1303
         const uris = this.fixupURIs(uriVariant);
    
    1304
    -    lazy.logger.debug(`Will load after bootstrap => [${uris.join(", ")}]`);
    
    1305
    -    return uris.map(uri => this.getRedirectURL(uri));
    
    1304
    +    const localUriRx = /^(file:\/\/\/|moz-extension:)/;
    
    1305
    +    lazy.logger.debug(
    
    1306
    +      `Will load after bootstrap => [${uris
    
    1307
    +        .filter(uri => !localUriRx.test(uri))
    
    1308
    +        .join(", ")}]`
    
    1309
    +    );
    
    1310
    +
    
    1311
    +    return uris.map(uri =>
    
    1312
    +      localUriRx.test(uri) ? uri : this.getRedirectURL(uri)
    
    1313
    +    );
    
    1306 1314
       },
    
    1307 1315
     };

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