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

Bug/40 #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Bug/40 #47

wants to merge 2 commits into from

Conversation

trevynmace
Copy link

Fixed validation of the local part of the email to allow more accepted characters as well as preventing invalid combinations (like two periods sequentially).
Also increased the length limit of the top-level domain to accept any existing top-level domain (largest has length of 24 characters).
Also added a suite of unit tests in order to validate my changes.

@gregriggins36
Copy link

Could this be reviewed and merged? I'm working on an app that uses this library but we can't use + in email addresses. Otherwise I'm gonna have to rip this out and rewrite the validation layer

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.

None yet

3 participants