mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Fix regression affecting *$csp=
-like filters
Related discussion:
- https://www.reddit.com/r/uBlockOrigin/comments/bshn7z/filter_question/
Regression introduced in:
- 3f3a1543ea
This commit is contained in:
parent
68b74ddfef
commit
1e9528e2a6
@ -2313,7 +2313,7 @@ FilterParser.prototype.makeToken = function() {
|
||||
/******************************************************************************/
|
||||
|
||||
FilterParser.prototype.isJustOrigin = function() {
|
||||
return this.datatype === undefined &&
|
||||
return this.dataType === undefined &&
|
||||
this.redirect === false &&
|
||||
this.domainOpt !== '' &&
|
||||
/^(?:\*|https?:(?:\/\/)?)$/.test(this.f) &&
|
||||
|
Loading…
Reference in New Issue
Block a user