mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix broken parser involving specific filters with Unicode characters
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/10obivd/ The issue was arising with filters of the form: ||example.org^$domain=[domain name with Unicode characters]
This commit is contained in:
parent
313d488314
commit
70e2864ca4
1 changed files with 1 additions and 1 deletions
|
|
@ -1189,7 +1189,7 @@ export class AstFilterParser {
|
|||
parentEnd - 1
|
||||
);
|
||||
this.addNodeToRegister(NODE_TYPE_NET_PATTERN, next);
|
||||
if ( normal !== pattern ) {
|
||||
if ( normal !== undefined && normal !== pattern ) {
|
||||
this.setNodeTransform(next, normal);
|
||||
}
|
||||
prev = this.linkRight(prev, next);
|
||||
|
|
|
|||
Loading…
Reference in a new issue