This repository was archived by the owner on Apr 12, 2024. It is now read-only.
input type="email" validation does not allow more than 57 not-latin characters in domain part #15864
Closed
1 of 3 tasks
I'm submitting a ...
Current behavior:
E-mails like "email@вввввввввввввввввввввввввввввввввввввввввввввввввввввввввв.com"
are considered invalid ("в" in domain here is russian symbol) when reaching length more than 57. Classes "ng-invalid", "ng-invalid-email" are set. But when latin symbols are used in domain - there is no such restriction.
Expected / new behavior:
E-mails like: email@вввввввввввввввввввввввввввввввввввввввввввввввввввввввввв.com
should be considered valid
Minimal reproduction of the problem with instructions:
Input email with more than 57 non-latin symbols in domain part, like "email@вввввввввввввввввввввввввввввввввввввввввввввввввввввввввв.com"
Angular version: 1.5.7
1.5.7
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Chrome 56.0.2924.87, Windows
Anything else:
Maybe check some regexp
The text was updated successfully, but these errors were encountered: