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 11225 - Allow valid e-mail addresses to have one-part domain names like "localhost" or "to"
Summary: Allow valid e-mail addresses to have one-part domain names like "localhost" o...
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 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-11-04 21:21 UTC by contributor
Modified: 2011-08-04 05:05 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2010-11-04 21:21:17 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#valid-e-mail-address

Comment:
You should allow the part after the at sign to be ldh-str 0*( "." ldh-str ),
or whatever the proper syntax is, to allow "username@localhost".  This might
actually be useful for testing web apps, and it doesn't seem like it would
cause any extra harm.  Plus, in principle, a regular TLD could resolve to
something with an A or MX record, e.g., the ccTLD "to" has an A record and
maybe mail can get there (dunno).

Posted from: 68.175.61.233 by AryehGregor+whatwgspec@gmail.com
Comment 1 Ian 'Hixie' Hickson 2011-01-21 01:46:45 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 2 contributor 2011-01-21 01:47:59 UTC
Checked in as WHATWG revision r5796.
Check-in comment: allow @localhost addresses for testing.
http://html5.org/tools/web-apps-tracker?from=5795&to=5796
Comment 3 Michael[tm] Smith 2011-08-04 05:05:44 UTC
mass-moved component to LC1