Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Fix error in email validation #71

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

Conversation

kanet77
Copy link

@kanet77 kanet77 commented Jan 24, 2014

Fix so that email validation no longer accepts addresses such as "[email protected]" or "mal.formed.@example." The fix is to require at least one atext following a dot.

From http://www.ietf.org/rfc/rfc2822.txt:
dot-atom-text = 1*atext *("." 1*atext)
where "1*" means "at least 1"

@tillsc
Copy link
Contributor

tillsc commented Dec 30, 2014

+1

@JustDevZero
Copy link

+1

This sould be included.

@kanet77
Copy link
Author

kanet77 commented Nov 26, 2015

Is there anything preventing this PR from being merged? It's a simple change. It has test cases for the new functionality. The Travis CI build passes.

@dkubb @solnic @tpitale @tillsc You have activity on dm-validations in 2015. Can you merge this?

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

Successfully merging this pull request may close these issues.

3 participants