Bug 217648
| Summary: | Input type email validation is broken. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sreejith Nair <ksreejithnair> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Critical | CC: | ap, cdumez |
| Priority: | P2 | ||
| Version: | Safari 14 | ||
| Hardware: | All | ||
| OS: | All | ||
Sreejith Nair
In HTML use <input type="eamil"> and try entering sree@sree, it's not throwing error. I think the regex for the email validation is wrong. It is allowing sree@sree as a valid email address. It should throw error if ".com" part is missing.
Thanks,
Sree
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This is a valid email address according to the spec, https://html.spec.whatwg.org/#valid-e-mail-address