client: Support IDNs

Convert IDNs to punycode before performing DNS lookups.
This commit is contained in:
Adnan Maolood
2021-02-09 15:59:45 -05:00
parent f0e9150663
commit 79e0296bed
4 changed files with 54 additions and 19 deletions

2
go.mod
View File

@@ -1,3 +1,5 @@
module git.sr.ht/~adnano/go-gemini
go 1.15
require golang.org/x/net v0.0.0-20210119194325-5f4716e94777