mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 07:22:28 +02:00
Fix previous commit regarding PSL
The library itself was fixed properly but failed to
properly transcribe the fix manually.
Related commit:
- 38855b1ff6
This commit is contained in:
parent
f55361303e
commit
5619840066
@ -403,7 +403,7 @@ const getPublicSuffixPosJS = function() {
|
|||||||
}
|
}
|
||||||
// 2. If no rules match, the prevailing rule is "*".
|
// 2. If no rules match, the prevailing rule is "*".
|
||||||
if ( iFound === 0 ) {
|
if ( iFound === 0 ) {
|
||||||
if ( buf8[iCandidates + 1] !== 0x2A /* '*' */ ) { break; }
|
if ( buf32[iCandidates + 1] !== 0x2A /* '*' */ ) { break; }
|
||||||
buf8[SUFFIX_NOT_FOUND_SLOT] = 1;
|
buf8[SUFFIX_NOT_FOUND_SLOT] = 1;
|
||||||
iFound = iCandidates;
|
iFound = iCandidates;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user