Skip to content
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

IDN domain names are sometimes displayed as punycode instead of Unicode chars #21782

Closed
alvar-freude opened this issue Nov 28, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@alvar-freude
Copy link

alvar-freude commented Nov 28, 2022

Steps to reproduce the problem

  1. Open an instance with IDN domain name in browser
  2. Look at the about page, e.g. https://bawü.social/about
  3. See how the hostname is displayed
  4. Similarly: Look at the left sidebar

Expected behaviour

Always display IDN host names as Unicode characters

Actual behaviour

Sometimes IDN host names are displayed as punycode

Detailed description

In the above example, the host name (and instance name) should be displayed as "bawü.social", but it is displayed in punycode: "xn--baw-joa.social".

This is confusing for most unexperienced users.

There are several places, where the domain name is displayed as punycode, e.g. in big on the about page, but also at the left sidebar in the footer, as account name on the account page (e.g. https://bawü.social/@lfdi); in some situations the domain name is displayed correctly with unicode chars.

In some places Unicode domains are displayed correctly. With 4.0 the issue is more noticeable because on the "about" page the hostname is displayed large in punycode.

Examples

image

image

image

Specifications

Mastodon 4.0.2

@alvar-freude alvar-freude added the bug Something isn't working label Nov 28, 2022
@Der-K-2000
Copy link

This bug was already reported (please use the search before starting a new issue) → #20906

There is also a pull request → #21440

@alvar-freude
Copy link
Author

Sorry, I used the search function but must have used wrong search words and only found issues to other areas like IDN links in toots etc.

Thanks for pointing it out, so I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants