Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email Validator only accepts 2-3 letter TLDs. #516

Open
Benjie56 opened this issue Mar 7, 2023 · 1 comment
Open

Email Validator only accepts 2-3 letter TLDs. #516

Benjie56 opened this issue Mar 7, 2023 · 1 comment

Comments

@Benjie56
Copy link

Benjie56 commented Mar 7, 2023

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.

@ianharrigan
Copy link
Member

fair point - i just grabbed the regex online somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants