New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use Caddy on punycode IDN domains #3017
Comments
Thank you for the issue. Which version of Caddy are you using?
|
Thanks for opening an issue! We'll look into this. It's not immediately clear to me what is going on, so I'll need your help to understand it better. Ideally, we need to be able to reproduce the bug in the most minimal way possible. This allows us to write regression tests to verify the fix is working. If we can't reproduce it, then you'll have to test our changes for us until it's fixed -- and then we can't add test cases, either. I've attached a template below that will help make this easier and faster! It will ask for some information you've already provided; that's OK, just fill it out the best you can. 👍 I've also included some helpful tips below the template. Feel free to let me know if you have any questions! Thank you again for your report, we look forward to resolving it! Template
Helpful tips
Example of a tutorial: Create a config file: |
I'm a past domain registrar, so I'm familiar with Punycode. I immediately tried this with Caddy v2:
Just in my hand was the Punycode subdomain of EU.org: xn--38j2b6b6e.jp.eu.org = にほんご.jp.eu.org Caddy v2 appears to output Punycode (sub) domains successfully. |
Thank you for that helpful investigation, @fu-sen ! It is good to know that v2 works at least :) |
I switched the VPS Caddy to v1 and tried it: Caddyfile:
xn--38j2b6b6e.jp.eu.org/index.html:
It's okay. The latest Caddy has no bugs with Punycode domains. Perhaps this is an individual issue, so the continuation should be on the Forum: |
Great! Thanks for verifying that, @fu-sen. I will close this issue then unless it can be shown to be a bug and/or more information is provided. |
It's possible to declare punycode domains in the Caddyfile as either UTF-8 or ASCII, however, they are never matched
The text was updated successfully, but these errors were encountered: