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:
committed by
Baptiste Mispelon
parent
173aa51997
commit
98f13762d7
@@ -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
|
||||
=====================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user