validatorjs / validator.js

String validation
MIT License
22.82k stars 2.27k forks source link

extended ascii passed isEmail validation #2390

Open born2net opened 2 months ago

born2net commented 2 months ago

when using email like aˇol@a.com it passes validation of isEmail you cannot use extended characters in emails. even if I enable: allow_utf8_local_part: false these emails will also pass as valid:

ka25maj@gˇmail.com

has this never been reported?

iamkhusainov7 commented 2 months ago

Hello. I have the same issue here. It seems the validator does not validate on DNS and is not checking if an email is RFC compliant.