1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Fix bad rules making it into the final ruleset files

This commit is contained in:
Raymond Hill 2022-09-27 10:57:43 -04:00
parent 8dfefe5910
commit d4b7169421
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -219,7 +219,7 @@ const isGood = rule =>
async function processNetworkFilters(assetDetails, network) {
const replacer = (k, v) => {
if ( k.startsWith('__') ) { return; }
if ( k.startsWith('_') ) { return; }
if ( Array.isArray(v) ) {
return v.sort();
}