Fixed #26644 -- Allowed wrapping NamedTemporaryFile with File.
914c72be 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.
Loading
Please register or sign in to comment