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

Add support for IDN #15068

Open
tuxmaster5000 opened this issue Mar 20, 2021 · 3 comments
Open

Add support for IDN #15068

tuxmaster5000 opened this issue Mar 20, 2021 · 3 comments
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality

Comments

@tuxmaster5000
Copy link
Contributor

tuxmaster5000 commented Mar 20, 2021

Gitea 1.13.4 will not show email address with an idn domain part correct.
For example the IDN föö.de is shown as the ACE one xn--f-1gaa.de

@noerw
Copy link
Member

noerw commented Mar 20, 2021

for reference: https://en.wikipedia.org/wiki/International_email

did you check if the email is stored correctly in DB?

@noerw noerw added type/enhancement An improvement of existing functionality topic/ui Change the appearance of the Gitea UI labels Mar 20, 2021
@tuxmaster5000
Copy link
Contributor Author

Yes the mail is stored as the ace one in the data base. So I think it is stored correct, but shown wrong.
But when I try to add an email in the IDN coding via the ui, then it will fails with the error: invalid email address.

@zeripath
Copy link
Contributor

IDN is a nightmare to do safely.

Any PR attempting to add this will need serious review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

3 participants