1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

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