From 1e9528e2a616deb17aac5039624aad7deaee837b Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 24 May 2019 11:48:19 -0400 Subject: [PATCH] Fix regression affecting `*$csp=`-like filters Related discussion: - https://www.reddit.com/r/uBlockOrigin/comments/bshn7z/filter_question/ Regression introduced in: - https://github.com/gorhill/uBlock/commit/3f3a1543ea7fa51d700157a7f6bf0da08dd7a32b --- src/js/static-net-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index 05ef6e943..6b41e7d7f 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -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) &&