1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addresses

This commit is contained in:
Erik Romijn
2014-02-22 16:00:23 +01:00
committed by Baptiste Mispelon
parent 173aa51997
commit 98f13762d7
3 changed files with 31 additions and 7 deletions

View File

@@ -760,6 +760,9 @@ Validators
``schemes`` argument which allows customization of the accepted URI schemes
(instead of the defaults ``http(s)`` and ``ftp(s)``).
* :func:`~django.core.validators.validate_email` now accepts addresses with
IPv6 literals, like ``example@[2001:db8::1]``, as specified in RFC 5321.
Backwards incompatible changes in 1.7
=====================================