Bug 217648 - Input type email validation is broken.
Summary: Input type email validation is broken.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 14
Hardware: All All
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-12 20:32 PDT by Sreejith Nair
Modified: 2020-10-14 14:00 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sreejith Nair 2020-10-12 20:32:41 PDT
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
Comment 1 Alexey Proskuryakov 2020-10-14 14:00:46 PDT
This is a valid email address according to the spec, https://html.spec.whatwg.org/#valid-e-mail-address