mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-02 09:00:18 +01:00
fix
This commit is contained in:
parent
5defde54c1
commit
2f9c3cc419
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue