fix: apply toLower to all domains
This commit is contained in:
parent
465ea8b64e
commit
b0f0510e8e
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ func parseDomainFromHost(host string) string {
|
|||
if strings.Contains(host, ":") {
|
||||
host = strings.Split(host, ":")[0]
|
||||
}
|
||||
return host
|
||||
return strings.ToLower(host)
|
||||
}
|
||||
|
||||
const parseAcceptLanguagePattern = `([a-zA-Z\-]+)(?:;q=\d\.\d)?(?:,\s)?`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue