New issue
Advanced search Search tips

Issue 623546 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Compat



Sign in to add a comment

input type="email" does not correctly validate against the spec

Reported by yles...@gmail.com, Jun 27 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0

Example URL:

Steps to reproduce the problem:
1. Visit http://www.w3schools.com/htmL/tryit.asp?filename=tryhtml_input_email
2. Enter: "My Name"@example.com

What is the expected behavior?
That is a valid e-mail

What went wrong?
The input type claims it is not.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? No Firefox 46.0.1

Chrome version: 53.0.2780.0 (Official Build) canary (64-bit)  Channel: canary
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

These are all valid e-mail addresse:

"My Name"@example.com
me\@you@example.com
james(nested(comment\)))jo@example.com

But they don't pass Firefox's validation.  I understand that they are uncommon and that some websites may not want to accept them, but the browser shouldn't make those decisions for the website owners.

There is more information here, though even this page doesn't quite cover it all:

http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx/
 

Comment 1 by yles...@gmail.com, Jun 27 2016

Ok, I found this in Firefox, posted the bug there, then checked Chrome as well and posted the bug as well.  Sadly, I copied and pasted the text and forgot to change the word "Firefox" to "Chrome" - sorry about that!  i'm not sure how to edit the original description.

Comment 2 by yles...@gmail.com, Jun 27 2016

Further to this, it was pointed out to me that the HTML spec "wilfully violates" the E-Mail spec, and that the correct place for the bug report should therefore be against the spec itself, not the browsers implementing the spec.  Sorry about that.
Components: Blink>Forms

Comment 4 by tkent@chromium.org, Jun 27 2016

Components: -Blink>Forms Blink>Forms>Email
Labels: -OS-Windows
Owner: tkent@chromium.org
Status: WontFix (was: Unconfirmed)

Sign in to add a comment