mirror of https://github.com/django/django.git
Fixed #25595 -- Doc'd that URLValidator rejects file:// URIs without a host.
This commit is contained in:
parent
e5ec11a84d
commit
7326513a8f
|
@ -183,6 +183,12 @@ to, or in lieu of custom ``field.clean()`` methods.
|
|||
|
||||
.. _valid URI schemes: https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
|
||||
|
||||
.. warning::
|
||||
|
||||
Values starting with ``file:///`` will not pass validation even
|
||||
when the ``file`` scheme is provided. Valid values must contain a
|
||||
host.
|
||||
|
||||
.. attribute:: max_length
|
||||
|
||||
The maximum length of values that could be considered valid. Defaults
|
||||
|
|
Loading…
Reference in New Issue