mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-03 17:49:39 +02:00
epicker: ignore URI without a hostname
This commit is contained in:
parent
4aec3404c4
commit
0797d04074
@ -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 New Issue
Block a user