From cfa08556faa6d970642e478ecfe2db2e08f5aa58 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:02:35 +0800 Subject: [PATCH] feat(website): Handle uppercase domain names (#7191) --- agent/app/service/website_utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/app/service/website_utils.go b/agent/app/service/website_utils.go index e51432b50..ecb14f852 100644 --- a/agent/app/service/website_utils.go +++ b/agent/app/service/website_utils.go @@ -954,6 +954,7 @@ func getWebsiteDomains(domains []request.WebsiteDomain, defaultPort int, website if err != nil { return } + domainModel.Domain = strings.ToLower(domainModel.Domain) domainModel.Port = domain.Port if domain.Port == 0 { domain.Port = defaultPort