mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 17:41:03 +01:00
code review: improve compatibility with StevenBlack hosts files
This commit is contained in:
parent
2a390879f7
commit
26c2320e46
1 changed files with 1 additions and 1 deletions
|
@ -775,7 +775,7 @@
|
||||||
staticExtFilteringEngine = this.staticExtFilteringEngine,
|
staticExtFilteringEngine = this.staticExtFilteringEngine,
|
||||||
reIsWhitespaceChar = /\s/,
|
reIsWhitespaceChar = /\s/,
|
||||||
reMaybeLocalIp = /^[\d:f]/,
|
reMaybeLocalIp = /^[\d:f]/,
|
||||||
reIsLocalhostRedirect = /\s+(?:broadcasthost|local|localhost|localhost\.localdomain)\b/,
|
reIsLocalhostRedirect = /\s+(?:0.0.0.0|broadcasthost|ip6-all(?:nodes|routers)|local|localhost|localhost\.localdomain)\b/,
|
||||||
reLocalIp = /^(?:0\.0\.0\.0|127\.0\.0\.1|::1|fe80::1%lo0)/,
|
reLocalIp = /^(?:0\.0\.0\.0|127\.0\.0\.1|::1|fe80::1%lo0)/,
|
||||||
line, c, pos,
|
line, c, pos,
|
||||||
lineIter = new this.LineIterator(this.processDirectives(rawText));
|
lineIter = new this.LineIterator(this.processDirectives(rawText));
|
||||||
|
|
Loading…
Reference in a new issue