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

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Tue Mar 28 12:21:05 UTC 2023



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:

- browser/components/onionservices/OnionAliasStore.jsm


Changes:

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



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c1b352e3a33dfbb16de07370408724837b3550aa

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/c1b352e3a33dfbb16de07370408724837b3550aa
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230328/fafc8aec/attachment.htm>


More information about the tbb-commits mailing list