contao/test — Issue #2750: validation of email address and IDNA encoding
Author: taca
Created: 2011-11-29 10:14:31+00:00
State: open
Labels: Defect, frontend

When specify "email" as an input validation to a text field, user inputed data will be encoded with IDNA (internationalized domain names) and validated.

If submitted form cause an error by some validation checks of other field, the form will redisplay with user inputed data. Then, "email" validated text field shows email address with encoded IDNA. It confuse the user since it diffrent from the use inputed value.

For examele,

```
taca@??.jp
```

will be redisplayed as:

```
taca@xn--wgv71a.jp
```

Most users who don't know detail of IDNA will not understand what's happened. So, IDNA should be decoded when it displayed into the form.

Best regards.

--- _Originally created on December 21st, 2010, at 03:59am (ID 2750)_