input type="email" does not correctly validate against the spec
Reported by
yles...@gmail.com,
Jun 27 2016
|
|||
Issue descriptionUserAgent: 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/
,
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.
,
Jun 27 2016
,
Jun 27 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by yles...@gmail.com
, Jun 27 2016