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

isEmail() returns true when � is at the end of the address #1087

Closed
frenchyLK opened this issue Aug 14, 2019 · 3 comments
Closed

isEmail() returns true when � is at the end of the address #1087

frenchyLK opened this issue Aug 14, 2019 · 3 comments
Labels

Comments

@frenchyLK
Copy link

I've noticed some odd behavior using isEmail().

> validator.isEmail('�[email protected]') // expected
false
> validator.isEmail('[email protected]�') // odd
true

Is this expected behavior? Is there an option that I am missing here?

Thanks!

@profnandaa
Copy link
Member

Thanks for raising this. PR welcome! 👍

@kamalbhardwaj
Copy link

I would like to work on this issue

@profnandaa
Copy link
Member

@kamalbhardwaj -- please go for it! 👍

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

Successfully merging a pull request may close this issue.

3 participants