[html5] r3717 - [ow] (2) Tighten up the definition of the e-mail address syntax.
whatwg at whatwg.org
whatwg at whatwg.org
Sun Aug 30 22:53:45 PDT 2009
Author: ianh
Date: 2009-08-30 22:53:43 -0700 (Sun, 30 Aug 2009)
New Revision: 3717
Modified:
index
source
Log:
[ow] (2) Tighten up the definition of the e-mail address syntax.
Modified: index
===================================================================
--- index 2009-08-31 03:48:57 UTC (rev 3716)
+++ index 2009-08-31 05:53:43 UTC (rev 3717)
@@ -31495,10 +31495,19 @@
string on commas</a>.</span></p>
<p>A <dfn id=valid-e-mail-address>valid e-mail address</dfn> is a string that matches the
- ABNF production <code title="">1*( atext / "." ) "@" dot-atom-text</code>
- where <code title="">atext</code> and <code title="">dot-atom-text</code> are defined in RFC 5322 section
- 3.2.3. <a href=#refsABNF>[ABNF]</a> <a href=#refsRFC5322>[RFC5322]</a></p>
+ ABNF production <code title="">1*( atext / "." ) "@" ldh-str 1*( "." ldh-str )</code>
+ where <code title="">atext</code> is defined in RFC 5322 section
+ 3.2.3, and <code title="">ldh-str</code> is defined in RFC 1034
+ section 3.5. <a href=#refsABNF>[ABNF]</a> <a href=#refsRFC5322>[RFC5322]</a> <a href=#refsRFC1034>[RFC1034]</a></p> <!-- Domain syntax based on
+ section 3.5 of [RFC1034] and section 2.1 of [RFC1123] -->
+ <p class=note>This requirement is a <a href=#willful-violation>willful violation</a>
+ of RFC 5322, which defines a syntax for e-mail addresses that is
+ simultaneously too strict (before the "@" character), too vague
+ (after the "@" character), and too lax (allowing comments, white
+ space characters, and quoted strings in manners unfamiliar to most
+ users) to be of practical use here.</p>
+
<div class="bookkeeping impl">
<p>The following common <code><a href=#the-input-element>input</a></code> element content
@@ -73726,6 +73735,11 @@
<dd><cite><a href=http://publicsuffix.org/>Public Suffix List</a></cite>.
Mozilla Foundation.</dd>
+ <dt id=refsRFC1034>[RFC1034]</dt>
+ <dd><cite><a href=http://www.ietf.org/rfc/rfc1034.txt>Domain
+ Names - Concepts and Facilities</a></cite>, P. Mockapetris. IETF,
+ November 1987.</dd>
+
<dt id=refsRFC1345>[RFC1345]</dt>
<dd><cite><a href=http://www.ietf.org/rfc/rfc1345.txt>Character Mnemonics
and Character Sets</a></cite>, K. Simonsen. IETF, June 1992.</dd>
Modified: source
===================================================================
--- source 2009-08-31 03:48:57 UTC (rev 3716)
+++ source 2009-08-31 05:53:43 UTC (rev 3717)
@@ -35057,12 +35057,21 @@
<p>A <dfn>valid e-mail address</dfn> is a string that matches the
ABNF production <code
- title="">1*( atext / "." ) "@" dot-atom-text</code>
- where <code title="">atext</code> and <code
- title="">dot-atom-text</code> are defined in RFC 5322 section
- 3.2.3. <a href="#refsABNF">[ABNF]</a> <a
- href="#refsRFC5322">[RFC5322]</a></p>
+ title="">1*( atext / "." ) "@" ldh-str 1*( "." ldh-str )</code>
+ where <code title="">atext</code> is defined in RFC 5322 section
+ 3.2.3, and <code title="">ldh-str</code> is defined in RFC 1034
+ section 3.5. <a href="#refsABNF">[ABNF]</a> <a
+ href="#refsRFC5322">[RFC5322]</a> <a
+ href="#refsRFC1034">[RFC1034]</a></p> <!-- Domain syntax based on
+ section 3.5 of [RFC1034] and section 2.1 of [RFC1123] -->
+ <p class="note">This requirement is a <span>willful violation</span>
+ of RFC 5322, which defines a syntax for e-mail addresses that is
+ simultaneously too strict (before the "@" character), too vague
+ (after the "@" character), and too lax (allowing comments, white
+ space characters, and quoted strings in manners unfamiliar to most
+ users) to be of practical use here.</p>
+
<div class="bookkeeping impl">
<p>The following common <code>input</code> element content
@@ -87602,6 +87611,11 @@
<dd><cite><a href="http://publicsuffix.org/">Public Suffix List</a></cite>.
Mozilla Foundation.</dd>
+ <dt id="refsRFC1034">[RFC1034]</dt>
+ <dd><cite><a href="http://www.ietf.org/rfc/rfc1034.txt">Domain
+ Names - Concepts and Facilities</a></cite>, P. Mockapetris. IETF,
+ November 1987.</dd>
+
<dt id="refsRFC1345">[RFC1345]</dt>
<dd><cite><a href="http://www.ietf.org/rfc/rfc1345.txt">Character Mnemonics
and Character Sets</a></cite>, K. Simonsen. IETF, June 1992.</dd>
More information about the Commit-Watchers
mailing list