Bug 217648

Summary: Input type email validation is broken.
Product: WebKit Reporter: Sreejith Nair <ksreejithnair>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Critical CC: ap, cdumez
Priority: P2    
Version: Safari 14   
Hardware: All   
OS: All   

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