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: Zero width space allowed #940

Open
sandorvasas opened this issue Nov 20, 2018 · 1 comment
Open

isEmail: Zero width space allowed #940

sandorvasas opened this issue Nov 20, 2018 · 1 comment

Comments

@sandorvasas
Copy link

We just run into a problem with isEmail. Someone copied a mail address from a website which was prefixed with a zero width space unicode character (200B ?)

The validator let it through.

@simonratner
Copy link

Also, 'REPLACEMENT CHARACTER' (U+FFFD) is accepted in the domain part. It used to be rejected in validator@3.22.2 (and possibly later versions).

Example: user@example.com�

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

No branches or pull requests

3 participants