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:
Raymond Hill 2022-02-22 19:16:16 -05:00
parent f55361303e
commit 5619840066
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }