[tbb-commits] [tor-browser] 01/08: fixup! Bug 11698: Incorporate Tor Browser Manual pages into Tor Browser
gitolite role
git at cupani.torproject.org
Fri Jun 17 18:32:37 UTC 2022
This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-91.10.0esr-11.5-1
in repository tor-browser.
commit e3fe5ce02a55d412f52dc65bc5822ded78ef7c2b
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Wed Jun 15 12:25:16 2022 +0200
fixup! Bug 11698: Incorporate Tor Browser Manual pages into Tor Browser
Fixed flags of about:manual.
---
browser/components/about/AboutRedirector.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/browser/components/about/AboutRedirector.cpp b/browser/components/about/AboutRedirector.cpp
index b46811eaadf74..0eb86297188c3 100644
--- a/browser/components/about/AboutRedirector.cpp
+++ b/browser/components/about/AboutRedirector.cpp
@@ -142,7 +142,9 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule::URI_CAN_LOAD_IN_CHILD | nsIAboutModule::ALLOW_SCRIPT |
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
// The correct URI must be obtained by GetManualChromeURI
- {"manual", "about:blank", nsIAboutModule::ALLOW_SCRIPT},
+ {"manual", "about:blank", nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
+ nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::URI_MUST_LOAD_IN_CHILD |
+ nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS},
};
static nsAutoCString GetAboutModuleName(nsIURI* aURI) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tbb-commits
mailing list