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

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

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Sat, 23 Oct 2010 20:53:03 -0400
Message-ID: <AANLkTikapMR5RPD=NdwO=6-F+GAB7ftw0qn_bDLJrdz_@mail.gmail.com>
On Fri, Oct 22, 2010 at 5:07 PM, Jonas Sicking <jonas at sicking.cc> wrote:
> Actually, pages like gmail needs and uses the whole string "Aryeh
> Gregor <Simetrical+w3c at gmail.com>", so you don't want to strip it down
> to just the email address. I suspect that we'll end up having to
> support this format of email addresses too, either as another @type
> value, or using some opt-in boolean attribute.

Good point.  What are the use-cases for accepting a list of bare
e-mail addresses like "Simetrical+w3c at gmail.com" (without the angle
brackets)?  The obvious use-case for a single such address is when
you're supplying your address to a site, since existing applications
normally don't want anything but the address itself.  For multiple,
maybe a list of usernames, on a site where usernames are e-mail
addresses?  It seems a bit of a stretch.

On Fri, Oct 22, 2010 at 7:13 PM, Anne van Kesteren <annevk at opera.com> wrote:
> Sure, I would expect the way it is serialized for submission and for .value
> to be the same. I would not expect any whitespace there either. The way it
> is currently defined does not make much sense to me and seems to assume a
> particular UI.

I filed a bug:

Received on Saturday, 23 October 2010 17:53:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:27 UTC