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

View file

@ -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;
}