| Age | Commit message (Collapse) | Author |
|
|
|
Regression introduced in 513948735b799239f3ef8c89397592445e1a0cd5
by marking the raw SQL column reference feature for deprecation in
Django 4.0 while lifting the column format validation.
In retrospective the validation should have been kept around and the
user should have been pointed at using RawSQL expressions during the
deprecation period.
The main branch is not affected because the raw SQL column reference
support has been removed in 06eec3197009b88e3a633128bbcbd76eea0b46ff
per the 4.0 deprecation life cycle.
Thanks Joel Saunders for the report.
|
|
Backport of 8e97698d7b537cd298438a8d7b55916d275ff851 from main.
|
|
Backport of d9cee3f5f2f90938d2c2c0230be40c7d50aef53d from main
|
|
Backport of a39f235ca4cb7370dba3a3dedeaab0106d27792f from main
|
|
|
|
|
|
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
|
|
admindocs' TemplateDetailView.
|
|
Backport of f66ae7a2d5558fe88ddfe639a610573872be6628 from main
|
|
Backport of e513fb0e77baf2ebcbf2cbe366bdf0228d01119f from main.
|
|
Backport of b46dbd4e3e255223078ae0028934ea986e19ebc1 from main
|
|
Backport of 66491f08fe86629fa25977bb3dddda06959f65e7 from main.
|
|
|
|
|
|
- Validate filename returned by FileField.upload_to() not a filename
passed to the FileField.generate_filename() (upload_to() may
completely ignored passed filename).
- Allow relative paths (without dot segments) in the generated filename.
Thanks to Jakub Kleň for the report and review.
Thanks to all folks for checking this patch on existing projects.
Thanks Florian Apolloner and Markus Holtermann for the discussion and
implementation idea.
Regression in 0b79eb36915d178aef5c6a7bbce71b1e76d376d3.
Backport of b55699968fc9ee985384c64e37f6cc74a0a23683 from main.
|
|
Backport of d1f1417caed648db2f81a1ec28c47bf958c01958 from main.
|
|
Backport of efebcc429f048493d6bc710399e65d98081eafd5 from main
|
|
|
|
|
|
from being 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
Backport of e1e81aa1c4427411e3c68facdd761229ffea6f6f from main.
|
|
The validate_file_name() sanitation introduced in
0b79eb36915d178aef5c6a7bbce71b1e76d376d3 correctly rejects the example
file name as containing path elements on Windows. This breaks the test
introduced in 914c72be2abb1c6dd860cb9279beaa66409ae1b2 to allow path
components for storages that may allow them.
Test is skipped pending a discussed storage refactoring to support this
use-case.
Backport of a708f39ce67af174df90c5b5e50ad1976cec7cb8 from main
|
|
Backport of 607ebbfba915de2d84eb943aa93654f31817a709 and
62b2e8b37e37a313c63be40e3223ca4e830ebde3 from main
|
|
|
|
|
|
file uploads.
|
|
Backport of 1eac8468cbde790fecb51dd055a439f4947d01e9 from main
|
|
|
|
|
|
uploaded files.
Thanks Claude Paroz for the initial patch.
Thanks Dennis Brinkrolf for the report.
Backport of d4d800ca1addc4141e03c5440a849bb64d1582cd from main.
|
|
the --exclude option.
Backport of cf2f6fc558166656f29609e3864df9af81067d0c from main
|
|
Backport of 37044817f9a57126d655f216019e8c8cca7c151b from main.
|
|
Follow up to cd9fcd4e8073490a52c9e79133ada4661cb7db38.
Backport of f099ef3ef53f88160d04d7dcc73859801b05a83e from main.
|
|
Follow up to 9012833af857e081b515ce760685b157638efcef.
Backport of fc6fba0aa9e4575c9a1c23ad7031eebb1c112868 from main
|
|
Backport of 45814af6197cfd8f4dc72ee43b90ecde305a1d5a from main
|
|
Backport of 6993e1bf6dff04b6e3ab284b154397b341463b50 from main
|
|
methods in CBV docs.
Backport of bc04941bf811d1ea2c79fb7fc20457ed2c7e3410 from main
|
|
Backport of 50ef9dfac21499ff6c46c2f6a33103e40b60cd4e from main
|
|
Backport of 4d912e6697784325bc43a6d852fe5a26e6fa235a from main
|
|
booleans with QuerySet.values()/values_list() on SQLite.
Backport of c6b07627fcb5d1c8d2082714ef5adb63bee6cf4c from master
|
|
Backport of 05bbff82638731a6abfed2fe0ae06a4d429cb32f from master
|
|
Backport of d1f89c9b9a9b44c4dbfd24fcb5f76f16e973c0a2 from master
|
|
Backport of 2b1de3dd242b473cd084e7ff9b9b10d488dcabad from master
|
|
Backport of 0c7e880e13b837dd76276c04ebdc338bb76d1379 from master
|
|
Backport of e0f82d7992ad7085dcf4ed096a6ad2e3ad89eaae from master
|
|
Backport of 7cc6899d4176539e5d59a2e921b938904d3a8944 from master
|
|
Backport of ab58f072502e86dfe21b2bd5cccdc5e94dce8d26 from master
|
|
|
|
|
|
django.utils.http.limited_parse_qsl().
|