Project

General

Profile

Actions

Feature #29208

closed

Support email addresses with IDN (internationalized domain names) in user accounts

Added by Go MAEDA over 6 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
I18n
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

This is a patch to add IDN (internationalized domain names) support to email addresses of user accounts.

Currently, Redmine does not accept IDN email addresses like "joe@ドメイン名例.jp" and its ASCII expression "" when creating/updating a user account. After applying this patch, both expressions will be accepted.

According to IDN World Report, there are approx 8.7 millions IDNs in the world as of December 2016, and those are used in many countries. To support IDN email addresses should be beneficial for many people.

This patch converts Unicode domain names to traditional ASCII domain names just before saving an email address. However, it does not convert ASCII domain names to Unicode domain names when displaying email address. Users will see ASCII expression "" on my_account page even if they have entered Unicode email address "joe@ドメイン名例.jp".

This approach can minimize the change to existing code and works fine with IDN-unaware MTAs and plugins while allowing people to use IDN email addresses.

"Email" field accepts Unicode domain names:

ASCII converted email address is shown after saving:

References:


Files


Related issues

Related to Redmine - Defect #28878: Email does not support Russian-language domains.Closed

Actions
Related to Redmine - Defect #15985: Email address with non-ASCII character causes delivery errorClosed

Actions
Related to Redmine - Defect #32793: Email address with Punycode top-level domain is not acceptedClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF