W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

[whatwg] Make "foo@bar.com, " a valid email address list

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 22 Oct 2010 13:44:42 -0400
Message-ID: <4CC1CD8A.9080306@mit.edu>
On 10/22/10 1:25 PM, Garrett Smith wrote:
> What is wrong with splitting on comma, e.g.
>
> var validAddressList = inp.value.split(",");

That depends on what meaning of "email address" is used here.  Is:

   "Zbarsky, Boris" <bzbarsky at mit.edu>

a valid "email address"?

-Boris
Received on Friday, 22 October 2010 10:44:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:01 UTC