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 11:37:11 -04:00
parent 37030ec0c9
commit d027a3f7c4
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 1 deletions

View File

@ -1710,12 +1710,13 @@ const getURLFilteringData = function(details) {
}
if ( response.dirty ) { continue; }
puf.evaluateZ(context, url, type);
response.dirty = colorEntry.own !== (
const pown = (
puf.r !== 0 &&
puf.context === context &&
puf.url === url &&
puf.type === type
);
response.dirty = colorEntry.own !== pown || colorEntry.r !== puf.r;
}
return response;
};