mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
epicker: ignore URI without a hostname
This commit is contained in:
parent
4aec3404c4
commit
0797d04074
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ var netFilterFromUnion = (function() {
|
|||
var from = lastNetFilterUnion;
|
||||
|
||||
// Reset reference filter when dealing with unrelated URLs
|
||||
if ( from === '' || a.host !== lastNetFilterHostname ) {
|
||||
if ( from === '' || a.host === '' || a.host !== lastNetFilterHostname ) {
|
||||
lastNetFilterHostname = a.host;
|
||||
lastNetFilterUnion = to;
|
||||
localMessager.send({
|
||||
|
|
|
|||
Loading…
Reference in a new issue