Browse Source

Fix: salvaged rules might not include all subdomains

SukkaW 1 year ago
parent
commit
6c31408703
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Build/lib/parse-filter.ts

+ 2 - 0
Build/lib/parse-filter.ts

@@ -490,8 +490,10 @@ export function parse($line: string, result: [string, ParseType], allowThirdPart
     case 104: { /** h */
       /** |http://x.o2.pl^ */
       if (line.startsWith('http://', sliceStart)) {
+        includeAllSubDomain = false;
         sliceStart += 7;
       } else if (line.startsWith('https://', sliceStart)) {
+        includeAllSubDomain = false;
         sliceStart += 8;
       }
       break;