1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02: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:
Raymond Hill 2019-05-24 11:48:19 -04:00
parent 68b74ddfef
commit 1e9528e2a6
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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) &&