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

fix(isMail):fixed consecutive hyphen check in domain part #2287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kshavp
Copy link

@kshavp kshavp commented Sep 19, 2023

When doing check with isEmail('[email protected]'), now returns false and behaves as expected. Fix based on suggestion by itbali

Fixes #2268

Checklist

  • PR contains only changes related; no stray files, etc.

  • README updated (where applicable)
    image

  • Tests written (where applicable)

  • References provided in PR (where applicable)

When doing check with isEmail('[email protected]'), now returns false and behaves as expected.
@Daniyal-Qureshi
Copy link
Contributor

Please add necessary test cases for this fix.

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

Successfully merging this pull request may close these issues.

isEmail accepts incorrect domain.
2 participants