From 7ec59b09aca5c253e33aa5fe5f92e47b54d08bac Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 19 Oct 2022 12:12:09 -0400 Subject: [PATCH] Fix improperly detecting ruleset changes re. dynamic URL filtering Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2330\ --- src/js/url-net-filtering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/url-net-filtering.js b/src/js/url-net-filtering.js index 08f2cfe10..d527b8e10 100644 --- a/src/js/url-net-filtering.js +++ b/src/js/url-net-filtering.js @@ -261,7 +261,7 @@ class DynamicURLRuleFiltering { this.context === context && this.url === url && this.type === type; - if ( otherOwn && !thisOwn ) { + if ( otherOwn && !thisOwn || other.r !== this.r ) { this.setRule(context, url, type, other.r); this.changed = true; }