Closed nonk123 closed 1 week ago
They should be supported. Let's fix this.
I remembered to handle this for CertMagic, so that's fine; but the host
matcher does a literal string comparison. We probably need to convert IDNs to their punycode equivalents since that's what clients send even if you input an IDN to them.
Fixed in 99dcdf7e426f0dcbdffe510f241ae8a4fd5a56e6 -- kind of surprised this hasn't come up before. :man_shrugging: Thanks for the issue!
Spent 3 days banging my head on the wall while figuring this out, but the solution was so simple.
I tried this in my
Caddyfile
:This always got me a 0-byte response whenever I opened the link in my browser.
Then I changed it to punycode:
And voila! Everything works.
Was I missing something? I haven't seen any mention of internationalized domains being unsupported in the docs.
Perhaps it should be pointed out more clearly? Or even better: support these by default?