raw URL can be the empty string for behind-the-scene scope

This commit is contained in:
gorhill 2015-10-23 12:52:51 -04:00
parent ff4ef62747
commit f4a1bad048
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ housekeep itself.
// https://github.com/chrisaljoudi/uBlock/issues/1078
// Use both the raw and normalized URLs.
this.netFiltering = µb.getNetFilteringSwitch(this.normalURL);
if ( this.netFiltering && this.rawURL !== this.normalURL ) {
if ( this.netFiltering && this.rawURL !== this.normalURL && this.rawURL !== '' ) {
this.netFiltering = µb.getNetFilteringSwitch(this.rawURL);
}
this.netFilteringReadTime = Date.now();