1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00
Files
django/tests/files
Hugo Osvaldo Barrera c37f9253a6 [1.10.x] Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.
914c72be2a introduced a regression that
causes saving a NamedTemporaryFile in a FileField to raise a
SuspiciousFileOperation. To remedy this, if a File has an absolute
path as a filename, use only the basename as the filename.

Backport of 1b407050dd from master
2016-06-14 09:58:27 -04:00
..
2013-10-27 21:28:08 +01:00
2013-10-27 21:28:08 +01:00
2013-10-27 21:28:08 +01:00