Merge pull request #2509 from drien/main
Add `file:` protocol to non-permissible protocol list
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user