Closed WaterLemons2k closed 1 month ago
Converts DNS record names to its Punycode format with package golang.org/x/net/idna.
golang.org/x/net/idna
Cloudflare API still has trouble handling Unicode forms of IDNs.
Also use url.Values to build the URL parameters for GET requests.
url.Values
Possible values in the Webhook may be xn--xxx?
xn--xxx
Forgot that editing in-place can have side effects on Webhooks, sorry. Fixed that too.
What does this PR do?
Converts DNS record names to its Punycode format with package
golang.org/x/net/idna
.Cloudflare API still has trouble handling Unicode forms of IDNs.
Motivation
661
1159
Additional Notes
Also use
url.Values
to build the URL parameters for GET requests.