mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Pure origin filters can't have denyallow option
This fixes filters of the form: *$[...],denyallow=[...],domain=[...] |http://$[...],denyallow=[...],domain=[...] |https://$[...],denyallow=[...],domain=[...]
This commit is contained in:
parent
415035b42d
commit
94935a4b9e
1 changed files with 1 additions and 0 deletions
|
|
@ -2645,6 +2645,7 @@ const FilterParser = class {
|
|||
isJustOrigin() {
|
||||
return this.isRegex === false &&
|
||||
this.dataType === undefined &&
|
||||
this.denyallow === '' &&
|
||||
this.domainOpt !== '' && (
|
||||
this.f === '*' || (
|
||||
this.anchor === 0b010 &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue