mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #25637 -- Added URLValidator hostname length validation.
URLValidator now validates the maximum length of a hostname and the maximum length of all labels inside the hostname.
This commit is contained in:
committed by
Tim Graham
parent
d7a58f285b
commit
82976e5c3f
@@ -258,7 +258,9 @@ URLs
|
||||
Validators
|
||||
^^^^^^^^^^
|
||||
|
||||
* ...
|
||||
* :class:`~django.core.validators.URLValidator` now limits the length of
|
||||
domain name labels to 63 characters and the total length of domain
|
||||
names to 253 characters per :rfc:`1034`.
|
||||
|
||||
Backwards incompatible changes in 1.10
|
||||
======================================
|
||||
|
||||
Reference in New Issue
Block a user