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.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.reBadCSP = /(?:^|[;,])\s*report-(?:to|uri)\b/i;
this.reBadPP = /(?:^|[;,])\s*report-to\b/i; this.reBadPP = /(?:^|[;,])\s*report-to\b/i;
this.reNetOption = /^(~?)([13a-z_-]+)(=?)/; this.reNetOption = /^(~?)([134a-z_-]+)(=?)/;
this.reNoopOption = /^_+$/; this.reNoopOption = /^_+$/;
this.netOptionValueParser = new ArgListParser(','); this.netOptionValueParser = new ArgListParser(',');
this.scriptletArgListParser = new ArgListParser(','); this.scriptletArgListParser = new ArgListParser(',');