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

Refactor e-mail validation #257

Merged
merged 4 commits into from
Aug 25, 2019
Merged

Refactor e-mail validation #257

merged 4 commits into from
Aug 25, 2019

Conversation

danschultzer
Copy link
Collaborator

@danschultzer danschultzer commented Aug 22, 2019

Resolves #253

Makes email validation configurable with :email_validator configuration option.

@danschultzer
Copy link
Collaborator Author

danschultzer commented Aug 24, 2019

Edit: I looked up a billion different ways of doing it, everything from pretty much no validation, to very complex regex. Then I checked the wikipedia page, and decided to just build a validator based on those assumptions with unicode acceptance.

@danschultzer danschultzer marked this pull request as ready for review August 24, 2019 23:16
@danschultzer danschultzer merged commit bd67dc7 into master Aug 25, 2019
@danschultzer danschultzer deleted the email-validation branch August 25, 2019 18:54
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.

E-mail validation doesn't accept addresses with unicode (RFC 6531)
1 participant