Email validator accepts bad email addresses. #82

Closed
rkintzi opened this Issue Feb 18, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@rkintzi

rkintzi commented Feb 18, 2013

Examples of invalid addresses accepted by validator:
ala@ma.kota..pl
ala@ma-kota-.pl

Better regular expression: (?i)^[A-Z0-9._%+-]+@[A-Z0-9]+([.-][A-Z0-9]+)*.[A-Z]{2,4}$

douglatornell added a commit to douglatornell/colander that referenced this issue Mar 18, 2013

mcdonc added a commit that referenced this issue Mar 18, 2013

Merge pull request #94 from douglatornell/issue82
 Improve email address validator regex & add tests re: #82.
@amotl

This comment has been minimized.

Show comment Hide comment
@amotl

amotl Mar 18, 2013

Hey there,

funny enough, we stumbled across this topic today as well. Some colleagues (thanks Matthias and Stefano) provided these resources which might help in enhancing Colanders email validation regex even more:

Cheers,
Andreas.

amotl commented Mar 18, 2013

Hey there,

funny enough, we stumbled across this topic today as well. Some colleagues (thanks Matthias and Stefano) provided these resources which might help in enhancing Colanders email validation regex even more:

Cheers,
Andreas.

@mcdonc

This comment has been minimized.

Show comment Hide comment
@mcdonc

mcdonc Aug 10, 2013

Owner

Closing due to Doug's fix.

Owner

mcdonc commented Aug 10, 2013

Closing due to Doug's fix.

@mcdonc mcdonc closed this Aug 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment