mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[4.2.x] Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and URLValidator.
Thanks Seokchan Yoon for reports.
This commit is contained in:
@@ -592,7 +592,12 @@ For each field, we describe the default widget used if you don't specify
|
||||
* Error message keys: ``required``, ``invalid``
|
||||
|
||||
Has the optional arguments ``max_length``, ``min_length``, and
|
||||
``empty_value`` which work just as they do for :class:`CharField`.
|
||||
``empty_value`` which work just as they do for :class:`CharField`. The
|
||||
``max_length`` argument defaults to 320 (see :rfc:`3696#section-3`).
|
||||
|
||||
.. versionchanged:: 3.2.20
|
||||
|
||||
The default value for ``max_length`` was changed to 320 characters.
|
||||
|
||||
``FileField``
|
||||
-------------
|
||||
|
||||
Reference in New Issue
Block a user