summaryrefslogtreecommitdiff
path: root/docs/releases/3.2.3.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-13 08:53:44 +0200
committerGitHub <noreply@github.com>2021-05-13 08:53:44 +0200
commitb55699968fc9ee985384c64e37f6cc74a0a23683 (patch)
treeec84729969a2c35777792ef5ca2df54d238391ff /docs/releases/3.2.3.txt
parentb81c7562fc33f50166d5120138d6398dc42b13c3 (diff)
Fixed #32718 -- Relaxed file name validation in FileField.
- 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.
Diffstat (limited to 'docs/releases/3.2.3.txt')
-rw-r--r--docs/releases/3.2.3.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/releases/3.2.3.txt b/docs/releases/3.2.3.txt
index 315678b92a..915590f85c 100644
--- a/docs/releases/3.2.3.txt
+++ b/docs/releases/3.2.3.txt
@@ -2,7 +2,7 @@
Django 3.2.3 release notes
==========================
-*Expected June 1, 2021*
+*May 13, 2021*
Django 3.2.3 fixes several bugs in 3.2.2.
@@ -13,3 +13,8 @@ Bugfixes
* Fixed a regression in Django 3.2 that caused the incorrect filtering of
querysets combined with the ``|`` operator (:ticket:`32717`).
+
+* Fixed a regression in Django 3.2.1 where saving ``FileField`` would raise a
+ ``SuspiciousFileOperation`` even when a custom
+ :attr:`~django.db.models.FileField.upload_to` returns a valid file path
+ (:ticket:`32718`).