mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Ignore negated request types when validating redirect option
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3835
This commit is contained in:
parent
ae2f4da11f
commit
50e898b847
1 changed files with 3 additions and 1 deletions
|
|
@ -1371,7 +1371,9 @@ export class AstFilterParser {
|
|||
realBad = hasValue;
|
||||
if ( realBad ) { break; }
|
||||
requestTypeCount += 1;
|
||||
unredirectableTypeCount += 1;
|
||||
if ( (flags & NODE_FLAG_IS_NEGATED) === 0 ) {
|
||||
unredirectableTypeCount += 1;
|
||||
}
|
||||
break;
|
||||
case NODE_TYPE_NET_OPTION_NAME_POPUNDER:
|
||||
case NODE_TYPE_NET_OPTION_NAME_POPUP:
|
||||
|
|
|
|||
Loading…
Reference in a new issue