[tbb-commits] [tor-browser] 02/02: fixup! Bug 23247: Communicating security expectations for .onion

gitolite role git at cupani.torproject.org
Mon Oct 24 07:36:33 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch tor-browser-102.4.0esr-12.0-1
in repository tor-browser.

commit 346318329d47cbcbe8f39d7180260bf5fd83a270
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Mon Oct 24 08:38:24 2022 +0200

    fixup! Bug 23247: Communicating security expectations for .onion
    
    Bug 41388: Moved this from search engine
---
 .../components/extensions/schemas/chrome_settings_overrides.json    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/browser/components/extensions/schemas/chrome_settings_overrides.json b/browser/components/extensions/schemas/chrome_settings_overrides.json
index 96144745f574..674e237a5696 100644
--- a/browser/components/extensions/schemas/chrome_settings_overrides.json
+++ b/browser/components/extensions/schemas/chrome_settings_overrides.json
@@ -45,7 +45,7 @@
                   "search_url": {
                     "type": "string",
                     "format": "url",
-                    "pattern": "^(https://|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:\\d*)?(/|$)).*$",
+                    "pattern": "^(https://|http://(.+\\.onion|localhost|127\\.0\\.0\\.1|\\[::1\\])(:\\d*)?(/|$)).*$",
                     "preprocess": "localize"
                   },
                   "favicon_url": {
@@ -66,7 +66,7 @@
                   "suggest_url": {
                     "type": "string",
                     "optional": true,
-                    "pattern": "^$|^(https://|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:\\d*)?(/|$)).*$",
+                    "pattern": "^$|^(https://|http://(.+\\.onion|localhost|127\\.0\\.0\\.1|\\[::1\\])(:\\d*)?(/|$)).*$",
                     "preprocess": "localize"
                   },
                   "instant_url": {
@@ -123,7 +123,7 @@
                     "type": "string",
                     "optional": true,
                     "format": "url",
-                    "pattern": "^(https://|http://(localhost|127\\.0\\.0\\.1|\\[::1\\])(:\\d*)?(/|$)).*$",
+                    "pattern": "^(https://|http://(.+\\.onion|localhost|127\\.0\\.0\\.1|\\[::1\\])(:\\d*)?(/|$)).*$",
                     "preprocess": "localize"
                   },
                   "alternate_urls": {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list