mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-02 17:10: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
|
host = r.Host
|
||||||
port = ""
|
port = ""
|
||||||
}
|
}
|
||||||
:
|
|
||||||
p := idna.New(idna.ValidateForRegistration())
|
p := idna.New(idna.ValidateForRegistration())
|
||||||
var hostFromPunycode string
|
var hostFromPunycode string
|
||||||
hostFromPunycode, err = p.ToUnicode(host)
|
hostFromPunycode, err = p.ToUnicode(host)
|
||||||
|
|
Loading…
Reference in a new issue