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

Anne van Kesteren annevk at opera.com
Fri Oct 22 11:08:28 PDT 2010


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/



More information about the whatwg mailing list