| Age | Commit message (Collapse) | Author |
|
|
|
- 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().
|
|
Backport of d02d60eb0f032c9395199fb73c6cd29ee9bb2646 from master
|
|
Backport of e412b288455dd3ea6f1d65c8ec5d01751e489976 from master
|
|
Backport of 6ee86a12ee29fcd4f3d7c9f1ad6de8cde4637b06 from master
|
|
Backport of de4492fbb1e48f8b258baa182220d4247f345177 from master
|
|
backends.postgresql.tests.Tests.test_nodb_cursor_raises_postgres_authentication_failure().
Follow up to 9efe832ee1e5da326e4ee5ed370db963b8fe6624.
|
|
content types.
Backport of 76181308fb02e67794d0cc1471766a5d7e4c877e from master
|
|
Backport of e48e78738e224a056df57b7cb08bd48ac0e54f60 from master
|
|
The writing code index page is a better location for a newer contributor to
land, than the specific patch guidelines subpage.
Backport of aa29c57beea7e8e570f8a597ea806ca3e2b3431d from master
|
|
With the goal of guiding folks to the right destination:
* Improved wording of tutorial call-out.
* Added summary of page purpose.
* Added link to Writing code reference doc.
Backport of e733c9ac1746cedc78efabff340379f1c9ee47da from master
|
|
'postgres' database.
Thanks Kazantcev Andrey for the report.
Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe.
Backport of f131841c601b9d4884adcdb284b4213c2ad89231 from master
|
|
Backport of f9cfd346f0222d86bfbac26ef5455806965bae6b from master
|
|
Backport of 8d3c3a57174a072479978d60f5ecdb9fd3c2fd23 from master
|
|
Backport of f749148d62ece28d208ab66b109f858215ba090a from master
|
|
|