mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
raw URL can be the empty string for behind-the-scene scope
This commit is contained in:
parent
ff4ef62747
commit
f4a1bad048
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user