Skip to content

Commit

Permalink
Fix improper handling of match-all removeparam
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Feb 16, 2022
1 parent 3455552 commit 94959cd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/js/static-net-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -2926,11 +2926,7 @@ class FilterCompiler {
processModifierOption(modifier, value) {
if ( this.modifyType !== undefined ) { return false; }
this.modifyType = modifier;
if ( value !== undefined ) {
this.modifyValue = value;
} else if ( this.action === AllowAction ) {
this.modifyValue = '';
}
this.modifyValue = value || '';
return true;
}

Expand Down

0 comments on commit 94959cd

Please sign in to comment.