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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 22 Oct 2010 20:08:28 +0200
Message-ID: <op.vkzoodg964w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 22 Oct 2010 19:44:42 +0200, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> 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"?

Not per HTML5.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 22 October 2010 11:08:28 UTC

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