This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9404 - Email address regexp should not allow first part to end in dot
Summary: Email address regexp should not allow first part to end in dot
Status: RESOLVED DUPLICATE of bug 9392
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-04 16:06 UTC by Lars Gunther
Modified: 2010-10-04 14:31 UTC (History)
6 users (show)

See Also:


Attachments

Description Lars Gunther 2010-04-04 16:06:53 UTC
The regexp given in the spec says this is OK.

foo.@bar.com

The first part of an email address should not be allowed to end with a dot.

It should be:

1*atext *("." 1*atext)

Currently it is:

1*( atext / "." )


(This issue was found by Rasmus Leerdorf and all credit should go to him.)
Comment 1 Ms2ger 2010-04-04 18:33:05 UTC

*** This bug has been marked as a duplicate of bug 9392 ***