mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01: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
@ -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 New Issue
Block a user