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(isEmail): blacklist character check fix for #2392 #2414

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

keshavlingala
Copy link
Contributor

@keshavlingala keshavlingala commented Jun 4, 2024

Fixes the bug #2392
Order of blacklist characters check should be done before allow_utf8_local_part check since, that could possibly be true ignoring blacklisted characters

Added Appropriate validations tests data

Checklist

  • PR contains only changes related to isEmail.js file
  • Tests written

@keshavlingala
Copy link
Contributor Author

Reviews would be highly appreciated
cc: @tux-tn @rubiin @WikiRik @ezkemboi @chriso

Copy link
Member

@profnandaa profnandaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch!

@profnandaa profnandaa changed the title Fix(bug): Fixes Issue #2392 fix(isEmail): blacklist character check fix for #2392 Jun 4, 2024
@rubiin rubiin merged commit 3448e9d into validatorjs:master Jun 4, 2024
10 checks passed
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.

3 participants