Add file: protocol to non-permissible list
This commit is contained in:
parent
0bcac2a741
commit
2894de1127
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue