From a0c01905ae1a51a7f8e4c1b3acf9fe74355476f8 Mon Sep 17 00:00:00 2001 From: BPower0036 <80090789+BPower0036@users.noreply.github.com> Date: Mon, 20 Feb 2023 06:26:31 +0000 Subject: [PATCH] Add `file`: protocol to non-permissible protocol list https://github.com/mozilla/multi-account-containers/pull/2509/ --- src/js/background/backgroundLogic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/background/backgroundLogic.js b/src/js/background/backgroundLogic.js index f658cf0..4a9b07b 100644 --- a/src/js/background/backgroundLogic.js +++ b/src/js/background/backgroundLogic.js @@ -123,7 +123,8 @@ const backgroundLogic = { // We can't open these we just have to throw them away if (protocol === "about:" || protocol === "chrome:" - || protocol === "moz-extension:") { + || protocol === "moz-extension:" + || protocol === "file:") { return false; } return true;