fedora-infra / fas

Fedora Account System
https://admin.fedoraproject.org/accounts
GNU General Public License v2.0
40 stars 50 forks source link

Validate email the same way turbomail does it #163

Closed puiterwijk closed 8 years ago

puiterwijk commented 8 years ago

This email validation is the same check the library we use for sending email (turbomail) uses. Currently, it is possible to get email addresses like whatever.@domain.com (note the . before @) into FAS, and we will crash as soon as we try to send an actual email.

Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com

pypingou commented 8 years ago

:+1: for me