﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22579	validate_email accepts trailing dash	jason@…	Sasha Romijn	"In django 1.6 an EmailField (validate_email) will accept an address with a trailing dash at the end. Example: 'foo@bar.com-'
In django 1.4 it would trigger a ValidationError, so I believe this is a regression.

Tested like so:

{{{
>>> from django.core.validators import validate_email
>>> validate_email('foo@bar.com-')
}}}


expected: throws ValidationError
actual: no error thrown

This may be related to #12027, about the same behavior, but with a trailing dot. As with that bug, a trailing dash causes sendmail to throw an error. 
"	Bug	closed	Core (Other)	1.6	Normal	fixed			Ready for checkin	1	0	0	0	0	0
