[whatwg] type=email validation is too loose for practical applications
TAMURA, Kent
tkent at chromium.org
Mon Aug 24 17:19:55 PDT 2009
http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state
> A valid e-mail address is a string that matches the production
dot-atom-text "@" dot-atom-text
> where dot-atom-text is defined in RFC 5322 section 3.2.3.
> [RFC5322]<http://www.whatwg.org/specs/web-apps/current-work/#refsRFC5322>
I'd like stricter rule for it. e.g.
dot-atom-text "@" 1*(ALPHA / DIGIT) 1*("." 1*(ALPHA / DIGIT))
I understand the current production, dot-atom-text "@" dot-atom-text, is a
subset of addr-spec of RFC 5322. However dot-atom-text for the domain-part
is not practical. The production accepts apparently unusable email address
like "tkent@!!!!"
--
TAMURA Kent
Software Engineer, Google
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090825/0f4bbf18/attachment-0002.htm>
More information about the whatwg
mailing list