mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix regression in parsing of AG's [domain=...] syntax
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/issues/3235#issuecomment-2836674712
Related commit:
8b696a691a (diff-848f3a5c8459fe07d1c65764e30b7c9471be77f9e9574674442319b831138024)
This commit is contained in:
parent
526af62864
commit
8df96e4718
1 changed files with 1 additions and 1 deletions
|
|
@ -2225,7 +2225,7 @@ export class AstFilterParser {
|
|||
|
||||
normalizeDomainRegexValue(before) {
|
||||
const regex = before.startsWith('[$domain=/')
|
||||
? `/${before.slice(9, -1)}/`
|
||||
? `${before.slice(9, -1)}`
|
||||
: before;
|
||||
const source = this.normalizeRegexPattern(regex);
|
||||
if ( source === '' ) { return ''; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue