mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 06:13:14 +08:00
fix: wildcard matching problem
This commit is contained in:
parent
898f10ca96
commit
a7233f6036
@ -104,8 +104,8 @@ func (ss *DomainSet) Has(key string) bool {
|
||||
goto RESTART
|
||||
}
|
||||
}
|
||||
for ; ; nextBmIdx++ {
|
||||
if nextBmIdx-nextNodeId < len(ss.labels) && ss.labels[nextBmIdx-nextNodeId] == domainStepByte {
|
||||
for ; nextBmIdx-nextNodeId < len(ss.labels); nextBmIdx++ {
|
||||
if ss.labels[nextBmIdx-nextNodeId] == domainStepByte {
|
||||
bmIdx = nextBmIdx
|
||||
nodeId = nextNodeId
|
||||
i = j
|
||||
|
Loading…
Reference in New Issue
Block a user