mirror of https://github.com/gorhill/uBlock.git
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() {
|
FilterParser.prototype.isJustOrigin = function() {
|
||||||
return this.datatype === undefined &&
|
return this.dataType === undefined &&
|
||||||
this.redirect === false &&
|
this.redirect === false &&
|
||||||
this.domainOpt !== '' &&
|
this.domainOpt !== '' &&
|
||||||
/^(?:\*|https?:(?:\/\/)?)$/.test(this.f) &&
|
/^(?:\*|https?:(?:\/\/)?)$/.test(this.f) &&
|
||||||
|
|
Loading…
Reference in New Issue