mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #17867 -- Made email validation pass with IDN domains
Thanks Pierre Matri for the report and the initial patch.
This commit is contained in:
@@ -28,6 +28,7 @@ TEST_DATA = (
|
||||
(validate_email, 'email@[127.0.0.1]', None),
|
||||
(validate_email, 'example@valid-----hyphens.com', None),
|
||||
(validate_email, 'example@valid-with-hyphens.com', None),
|
||||
(validate_email, 'test@domain.with.idn.tld.उदाहरण.परीक्षा', None),
|
||||
|
||||
(validate_email, None, ValidationError),
|
||||
(validate_email, '', ValidationError),
|
||||
|
||||
Reference in New Issue
Block a user