[whatwg] type=email validation is too loose for practical applications

On Tue, Aug 25, 2009 at 2:59 AM, Anne van Kesteren<annevk at opera.com> wrote:
> On Tue, 25 Aug 2009 02:19:55 +0200, TAMURA, Kent <tkent at chromium.org> wrote:
>> I'd like stricter rule for it. e.g.
>> dot-atom-text "@" 1*(ALPHA / DIGIT) 1*("." 1*(ALPHA / DIGIT))
>
> That does not work with IDNs.

Nor does the current spec, but it only restricts what the UA actually
submits, not what it accepts from the user.  The spec suggests that
UAs convert IDNs to punycode for submission, which seems reasonable.
Opera 9.64 seems to reject IDNs in <input type=email> (but I'm not
totally sure on this, my IDN might just be wrong somehow).

Received on Tuesday, 25 August 2009 06:19:42 UTC