| Age | Commit message (Collapse) | Author |
|
URLValidator.
Thanks Seokchan Yoon for reports.
|
|
value.
|
|
|
|
scientific notation.
Thanks Shiplu Mokaddim for the report.
|
|
Co-authored-by: Jacob Rief <jacob.rief@uibk.ac.at>
|
|
|
|
|
|
|
|
|
|
EmailValidator per deprecation timeline.
|
|
|
|
|
|
validate_ipv4_address() was affected only on Python < 3.9.5, see [1].
URLValidator() uses a regular expressions and it was affected on all
Python versions.
[1] https://bugs.python.org/issue36384
|
|
accepted in URLValidator on Python 3.9.5+.
In Python 3.9.5+ urllib.parse() automatically removes ASCII newlines
and tabs from URLs [1, 2]. Unfortunately it created an issue in
the URLValidator. URLValidator uses urllib.urlsplit() and
urllib.urlunsplit() for creating a URL variant with Punycode which no
longer contains newlines and tabs in Python 3.9.5+. As a consequence,
the regular expression matched the URL (without unsafe characters) and
the source value (with unsafe characters) was considered valid.
[1] https://bugs.python.org/issue43882 and
[2] https://github.com/python/cpython/commit/76cd81d60310d65d01f9d7b48a8985d8ab89c8b4
|
|
URLValidator now validates the maximum length of a hostname without
the userinfo and port.
|
|
|
|
|
|
|
|
The method has been available since Python 3.6. The shorter syntax is
also marginally faster.
|
|
|
|
|
|
Special characters lose their special meaning inside sets of characters.
"-" lose its special meaning if it's placed as the first or last
character.
|
|
|
|
implemented comparisons.
Changed __eq__ to return NotImplemented instead of False if compared to
an object of the same type, as is recommended by the Python data model
reference. Now these models can be compared to ANY (or other objects
with __eq__ overwritten) without returning False automatically.
|
|
|
|
Thanks Claude Paroz for assistance with translations.
|
|
|
|
and password.
|
|
|
|
|
|
values.
|
|
|
|
scientific notation.
|
|
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better.
|
|
CharField form field.
|
|
|
|
|
|
iter(dict) is equivalent to iter(dict.keys()).
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
|