Fix improperly detecting ruleset changes re. dynamic URL filtering

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2330\
This commit is contained in:
Raymond Hill 2022-10-19 12:12:09 -04:00
parent de1eeb0770
commit 7ec59b09ac
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ class DynamicURLRuleFiltering {
this.context === context && this.context === context &&
this.url === url && this.url === url &&
this.type === type; this.type === type;
if ( otherOwn && !thisOwn ) { if ( otherOwn && !thisOwn || other.r !== this.r ) {
this.setRule(context, url, type, other.r); this.setRule(context, url, type, other.r);
this.changed = true; this.changed = true;
} }