Add file: protocol to non-permissible list

This commit is contained in:
Adrien Delessert 2023-02-16 12:39:44 -05:00
parent 0bcac2a741
commit 2894de1127
No known key found for this signature in database
GPG key ID: B3794F9CCA0681E4

View file

@ -123,7 +123,8 @@ const backgroundLogic = {
// We can't open these we just have to throw them away // We can't open these we just have to throw them away
if (protocol === "about:" if (protocol === "about:"
|| protocol === "chrome:" || protocol === "chrome:"
|| protocol === "moz-extension:") { || protocol === "moz-extension:"
|| protocol === "file:") {
return false; return false;
} }
return true; return true;