Punycode unicode domains
This commit is contained in:
parent
89826bc90a
commit
7182adaf0c
|
@ -249,6 +249,9 @@ def main():
|
||||||
usage('client')
|
usage('client')
|
||||||
|
|
||||||
host, = fixed
|
host, = fixed
|
||||||
|
# Support internationalized domain names
|
||||||
|
host = host.encode('idna').decode()
|
||||||
|
|
||||||
client_pubkey = b'client'
|
client_pubkey = b'client'
|
||||||
|
|
||||||
server_pubkey = client(client_pubkey, host, port)
|
server_pubkey = client(client_pubkey, host, port)
|
||||||
|
|
Loading…
Reference in New Issue