Email validator rejects valid email addresses, accept some invalid ones #159

Closed
vincent-lhote opened this Issue Jan 2, 2014 · 1 comment

Projects

None yet

2 participants

@vincent-lhote

The email validator rejects valid email addresses.
For example, new TLD are rejected, some characters also are (especially $, *), quoting the local part…

It also accepts invalid email addresses, like abc..stuff@example.org.

@claytron claytron added a commit to claytron/colander that referenced this issue Feb 8, 2014
@claytron claytron increase TLD length check. fixes #159
Based on list of current valid TLDs
https://data.iana.org/TLD/tlds-alpha-by-domain.txt
ae84d0d
@claytron

I increased the length for the TLD check.

For the specific invalid email address, there is not much that can be done. It is better to be conservative about rejecting. The only real way to validate an email is to send it.

@mcdonc mcdonc closed this in #165 Feb 9, 2014
@tseaver tseaver added a commit that referenced this issue Nov 26, 2014
@claytron claytron increase TLD length check. fixes #159
Based on list of current valid TLDs
https://data.iana.org/TLD/tlds-alpha-by-domain.txt
72518c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment