mirror of
https://github.com/gorhill/uBlock.git
synced 2025-10-05 21:32:39 +02:00
Fix incorrect test
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3736
This commit is contained in:
@@ -287,7 +287,7 @@ vAPI.Net = class extends vAPI.Net {
|
||||
if ( domainFromHostname(cn) === domainFromHostname(hn) ) { return; }
|
||||
}
|
||||
if ( this.cnameIgnoreList !== null ) {
|
||||
if ( this.cnameIgnoreList.test(cn) === false ) { return; }
|
||||
if ( this.cnameIgnoreList.test(cn) ) { return; }
|
||||
}
|
||||
if ( this.cnameIgnoreRootDocument ) {
|
||||
const origin = hostnameFromNetworkURL(details.documentUrl || details.url);
|
||||
|
Reference in New Issue
Block a user