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 accepts &@<domain> #2380

Closed
7c opened this issue Mar 15, 2024 · 3 comments
Closed

isEmail accepts &@<domain> #2380

7c opened this issue Mar 15, 2024 · 3 comments
Labels

Comments

@7c
Copy link

7c commented Mar 15, 2024

Just tried older and newest version;

image

@7c 7c added the 🐛 bug label Mar 15, 2024
@MisterXRD
Copy link

Do not use this library. Its dead

@WikiRik
Copy link
Member

WikiRik commented Mar 15, 2024

Do not use this library. Its dead

That we haven't had a release in a while doesn't mean the project is dead. We're also actively looking into adding new maintainers to the project, see #2376

@WikiRik
Copy link
Member

WikiRik commented Mar 15, 2024

And now on the issue itself; in the regular expression the & is indeed allowed as part of the email address. It is not different behaviour when &@ are right next to each other.

Not an official source of course, but Wikipedia also mentions this; https://en.m.wikipedia.org/wiki/Email_address#Local-part

So I would not consider this a bug.

@WikiRik WikiRik closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants