1
0
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:
gorhill 2015-03-22 00:36:14 -04:00
parent 4aec3404c4
commit 0797d04074

View File

@ -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({