mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
914c72be2aintroduced 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 of1b407050ddfrom master