From 8cb0c58b60dbc59a8f5d7fc0846127896b206254 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 14 Dec 2023 15:05:59 -0500 Subject: [PATCH] Restore old flags Fixes reports! --- chrome/content/zotero/ZoteroProtocolHandler.jsm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/ZoteroProtocolHandler.jsm b/chrome/content/zotero/ZoteroProtocolHandler.jsm index 4a32f38ae8..8131c4c1cb 100644 --- a/chrome/content/zotero/ZoteroProtocolHandler.jsm +++ b/chrome/content/zotero/ZoteroProtocolHandler.jsm @@ -1265,7 +1265,9 @@ ZoteroProtocolHandler.prototype = { Ci.nsIProtocolHandler.URI_NORELATIVE | Ci.nsIProtocolHandler.URI_NOAUTH | Ci.nsIProtocolHandler.URI_INHERITS_SECURITY_CONTEXT - | Ci.nsIProtocolHandler.URI_LOADABLE_BY_ANYONE + // URI_IS_UI_RESOURCE: more secure than URI_LOADABLE_BY_ANYONE, less secure than URI_DANGEROUS_TO_LOAD + // This is the security level used by the chrome:// protocol + | Ci.nsIProtocolHandler.URI_IS_UI_RESOURCE | Ci.nsIProtocolHandler.URI_NON_PERSISTABLE | Ci.nsIProtocolHandler.URI_IS_LOCAL_RESOURCE | Ci.nsIProtocolHandler.URI_SYNC_LOAD_IS_OK,