Fix: filter parsing

This commit is contained in:
SukkaW
2024-06-07 10:29:29 +08:00
parent fba420ee4c
commit 25e848058a
2 changed files with 8 additions and 7 deletions

View File

@@ -376,6 +376,7 @@ function parse($line: string, gorhill: PublicSuffixList, result: [string, ParseT
if (_1p === _3p) {
result[0] = hostname;
result[1] = isIncludeAllSubDomain ? ParseType.BlackIncludeSubdomain : ParseType.BlackAbsolute;
return result;
}
result[1] = ParseType.Null;
return result;