[html5] r7978 - [giow] (2) Limit labels in e-mail addresses to 63 characters, not 255. Fixing ht [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jun 14 11:49:55 PDT 2013
Author: ianh
Date: 2013-06-14 11:49:53 -0700 (Fri, 14 Jun 2013)
New Revision: 7978
Modified:
complete.html
index
source
Log:
[giow] (2) Limit labels in e-mail addresses to 63 characters, not 255.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21617
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2013-06-14 18:28:46 UTC (rev 7977)
+++ complete.html 2013-06-14 18:49:53 UTC (rev 7978)
@@ -46874,7 +46874,7 @@
extensions described in RFC 1123. <a href=#refsABNF>[ABNF]</a> <a href=#refsRFC5322>[RFC5322]</a> <a href=#refsRFC1034>[RFC1034]</a> <a href=#refsRFC1123>[RFC1123]</a></p>
<pre>email = 1*( atext / "." ) "@" label *( "." label )
-label = let-dig [ [ ldh-str ] let-dig ] ; limited to a length of 255 characters by <a href=http://tools.ietf.org/html/rfc1123#section-2>RFC 1123 section 2.1</a>
+label = let-dig [ [ ldh-str ] let-dig ] ; limited to a length of 63 characters by <a href=http://tools.ietf.org/html/rfc1034#section-3.5>RFC 1034 section 3.5</a>
atext = < as defined in <a href=http://tools.ietf.org/html/rfc5322#section-3.2.3>RFC 5322 section 3.2.3</a> >
let-dig = < as defined in <a href=http://tools.ietf.org/html/rfc1034#section-3.5>RFC 1034 section 3.5</a> >
ldh-str = < as defined in <a href=http://tools.ietf.org/html/rfc1034#section-3.5>RFC 1034 section 3.5</a> ></pre>
@@ -46895,7 +46895,7 @@
<p>The following JavaScript- and Perl-compatible regular expression is an implementation of the
above definition.</p>
- <pre>/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,253}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,253}[a-zA-Z0-9])?)*$/</pre>
+ <pre>/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/</pre>
<!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->
Modified: index
===================================================================
--- index 2013-06-14 18:28:46 UTC (rev 7977)
+++ index 2013-06-14 18:49:53 UTC (rev 7978)
@@ -46874,7 +46874,7 @@
extensions described in RFC 1123. <a href=#refsABNF>[ABNF]</a> <a href=#refsRFC5322>[RFC5322]</a> <a href=#refsRFC1034>[RFC1034]</a> <a href=#refsRFC1123>[RFC1123]</a></p>
<pre>email = 1*( atext / "." ) "@" label *( "." label )
-label = let-dig [ [ ldh-str ] let-dig ] ; limited to a length of 255 characters by <a href=http://tools.ietf.org/html/rfc1123#section-2>RFC 1123 section 2.1</a>
+label = let-dig [ [ ldh-str ] let-dig ] ; limited to a length of 63 characters by <a href=http://tools.ietf.org/html/rfc1034#section-3.5>RFC 1034 section 3.5</a>
atext = < as defined in <a href=http://tools.ietf.org/html/rfc5322#section-3.2.3>RFC 5322 section 3.2.3</a> >
let-dig = < as defined in <a href=http://tools.ietf.org/html/rfc1034#section-3.5>RFC 1034 section 3.5</a> >
ldh-str = < as defined in <a href=http://tools.ietf.org/html/rfc1034#section-3.5>RFC 1034 section 3.5</a> ></pre>
@@ -46895,7 +46895,7 @@
<p>The following JavaScript- and Perl-compatible regular expression is an implementation of the
above definition.</p>
- <pre>/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,253}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,253}[a-zA-Z0-9])?)*$/</pre>
+ <pre>/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/</pre>
<!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->
Modified: source
===================================================================
--- source 2013-06-14 18:28:46 UTC (rev 7977)
+++ source 2013-06-14 18:49:53 UTC (rev 7978)
@@ -51378,7 +51378,7 @@
href="#refsRFC1123">[RFC1123]</a></p>
<pre>email = 1*( atext / "." ) "@" label *( "." label )
-label = let-dig [ [ ldh-str ] let-dig ] ; limited to a length of 255 characters by <a href="http://tools.ietf.org/html/rfc1123#section-2">RFC 1123 section 2.1</a>
+label = let-dig [ [ ldh-str ] let-dig ] ; limited to a length of 63 characters by <a href="http://tools.ietf.org/html/rfc1034#section-3.5">RFC 1034 section 3.5</a>
atext = < as defined in <a href="http://tools.ietf.org/html/rfc5322#section-3.2.3">RFC 5322 section 3.2.3</a> >
let-dig = < as defined in <a href="http://tools.ietf.org/html/rfc1034#section-3.5">RFC 1034 section 3.5</a> >
ldh-str = < as defined in <a href="http://tools.ietf.org/html/rfc1034#section-3.5">RFC 1034 section 3.5</a> ></pre>
@@ -51399,7 +51399,7 @@
<p>The following JavaScript- and Perl-compatible regular expression is an implementation of the
above definition.</p>
- <pre>/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,253}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,253}[a-zA-Z0-9])?)*$/</pre>
+ <pre>/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/</pre>
<!-- based on: http://blog.gerv.net/2011/05/html5_email_address_regexp/ -->
More information about the Commit-Watchers
mailing list