haxeui-core icon indicating copy to clipboard operation
haxeui-core copied to clipboard

Email Validator only accepts 2-3 letter TLDs.

Open Benjie56 opened this issue 1 year ago • 1 comments

The email validator regex only accepts 2 and 3 character top-level-domains. The current longest TLD is .vermögensberatung (XN--VERMGENSBERATUNG-PWB), which is 24 characters long. The longest possible is 63 characters long. I personally use a .scot email address, which gets rejected by email fields.

Benjie56 avatar Mar 07 '23 16:03 Benjie56

fair point - i just grabbed the regex online somewhere.

ianharrigan avatar Mar 07 '23 16:03 ianharrigan