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
1 changed file:
Changes:
... | ... | @@ -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) {
|