1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 15:33:38 +01:00

Fix regression re. mp4 filter option

Related issue:
https://github.com/uBlockOrigin/uBlock-issues/issues/3375
This commit is contained in:
Raymond Hill 2024-09-14 00:10:34 -04:00
parent 93042eced4
commit 5e6f78a902
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -900,7 +900,7 @@ export class AstFilterParser {
this.reGoodRegexToken = /[^\x01%0-9A-Za-z][%0-9A-Za-z]{7,}|[^\x01%0-9A-Za-z][%0-9A-Za-z]{1,6}[^\x01%0-9A-Za-z]/;
this.reBadCSP = /(?:^|[;,])\s*report-(?:to|uri)\b/i;
this.reBadPP = /(?:^|[;,])\s*report-to\b/i;
this.reNetOption = /^(~?)([13a-z_-]+)(=?)/;
this.reNetOption = /^(~?)([134a-z_-]+)(=?)/;
this.reNoopOption = /^_+$/;
this.netOptionValueParser = new ArgListParser(',');
this.scriptletArgListParser = new ArgListParser(',');