mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-13 10:17:34 +01:00
Fix regression in pure hostname filters with wildcard
The regression broke filters of the form: ||trk*.vidible.tv^ The new parser will eventually interpret differently wildcard characters when they are used in a manner meant to represent only hostname-valid characters, but this will come in a future version -- for now the default meaning must be preserved until the static network filtering engine is modified to enforce the new interpretation.
This commit is contained in:
parent
c4d39d3763
commit
db198b0904
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ const Parser = class {
|
||||||
this.skipUntilNot(
|
this.skipUntilNot(
|
||||||
this.patternSpan.i,
|
this.patternSpan.i,
|
||||||
lastPatternSlice,
|
lastPatternSlice,
|
||||||
BITHostname | BITAsterisk
|
BITHostname
|
||||||
) === lastPatternSlice
|
) === lastPatternSlice
|
||||||
) {
|
) {
|
||||||
this.patternRightAnchorSpan.i = lastPatternSlice;
|
this.patternRightAnchorSpan.i = lastPatternSlice;
|
||||||
|
|
Loading…
Reference in a new issue