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
Punycode-Domain is displayed raw since update to version 4.0.2 #20906
Comments
Probably same root cause as #20422. Are you able to test if you have the same issue with usernames and mentions? |
No, mentions are working fine. |
There are quite a few places where punycode show up strangely. URLs in profile fields, for example, show the https://, while no other type of link does. An example of this can be seen at https://ꩰ.com/@north. If anybody needs to do testing with this, I'd be happy to provide an account at that domain. |
FWIW, this is what a post from a punycode instance looks like, with a bunch of different links and tags. All links and tags were input correctly, with links including https://. This image is from the viewpoint of a remote user, but it's basically the same for the local user after sending. Links 1 and 2 were entered as punycode domains - the results are not links. Links 3 and 4 were entered as their decoded (xn--8r9a) form. |
Steps to reproduce the problem
Use a Punycode-Domain
Expected behaviour
Show human readable domain (for example ratatöskr.de)
Actual behaviour
Shows Raw Punycode (for example xn--ratatskr-r4a.de)
Detailed description
When using a Punycode Domain (For example, my Server https://www.ratatöskr.de) everywhere the domain is written in raw punycode (xn--ratatskr-r4a.de) instead of the human-readable domain (ratatöskr.de). Version 3.5.3 was handling it for most written domains correctly.
Specifications
Mastodon 4.0.2
Ruby 3.0.4
The text was updated successfully, but these errors were encountered: