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

Validate that domain name cannot begin or end with a dash #140

Merged
merged 1 commit into from
Nov 26, 2019

Conversation

pdoulatshahi
Copy link
Contributor

This PR corrects the following behavior in the gem:

Email addresses whose domain names begin or end with a "-" are currently being handled as valid email addresses.

For example:

  • foo@-gmail.com
  • foo@gmail-.com

Let me know what you think! Thanks in advance.

@micke micke merged commit 832a66c into micke:master Nov 26, 2019
@micke
Copy link
Owner

micke commented Nov 26, 2019

Thanks Paul!

@krasnoukhov
Copy link

Thanks @micke for merging! Would you mind cutting the release?

@micke
Copy link
Owner

micke commented Nov 26, 2019

@krasnoukhov @pdoulatshahi just pushed version 3.1.1

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