mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-08-02 03:54:16 +03:00
ignore domain case in route rules
This commit is contained in:
@@ -47,6 +47,7 @@ func (r *DomainRegexItem) Match(metadata *adapter.InboundContext) bool {
|
||||
if domainHost == "" {
|
||||
return false
|
||||
}
|
||||
domainHost = strings.ToLower(domainHost)
|
||||
for _, matcher := range r.matchers {
|
||||
if matcher.MatchString(domainHost) {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user