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

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



Title: GitLab

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

Commits:

  • fc0af914
    by hackademix at 2024-10-18T10:54:46+02:00
    fixup! Bug 40597: Implement TorSettings module
    

1 changed file:

Changes:

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

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