Do not decode query parameter name when used as token

Related feedback:
- https://github.com/DandelionSprout/adfilt/discussions/163#discussioncomment-1628496
This commit is contained in:
Raymond Hill 2021-11-12 08:24:30 -05:00
parent 5381e3bfe2
commit dea7184f30
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -3362,7 +3362,7 @@ class FilterCompiler {
if ( pattern.startsWith('|') ) {
return this.extractTokenFromRegex('\\b' + pattern.slice(1));
}
this.extractTokenFromPattern(encodeURIComponent(pattern).toLowerCase());
this.extractTokenFromPattern(pattern.toLowerCase());
}
hasNoOptionUnits() {