Skip to content

Commit

Permalink
Do not decode query parameter name when used as token
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Nov 12, 2021
1 parent 5381e3b commit dea7184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/static-net-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit dea7184

Please sign in to comment.