Add file: protocol to non-permissible protocol list

https://github.com/mozilla/multi-account-containers/pull/2509/
This commit is contained in:
BPower0036 2023-02-20 06:26:31 +00:00 committed by GitHub
parent 7cdfac2d24
commit a0c01905ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;