diff --git a/server/handlers.go b/server/handlers.go index 134d139..1f56959 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -625,7 +625,7 @@ func getURL(r *http.Request, proxyPort string) *url.URL { host = r.Host port = "" } -: + p := idna.New(idna.ValidateForRegistration()) var hostFromPunycode string hostFromPunycode, err = p.ToUnicode(host)