﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
9591	MemoryFileUploadHandler doesn't rewind InMemoryUploadedFile to the beginning	Ivan Sagalaev	nobody	"MemoryFileUploadHandler creates an InMemoryUploadedFile and passes it to storage.save without doing seek(0) beforehand. This contradicts the docstring of storage.save that says ""The content should be a proper File object, ready to be read from the beginning.""

Patch follows.

P.S. Uploaded files are saved correctly though with the standard FileSystemStorage because it uses .chunks() method of a File object that incidentally does seek(0) before read()."		closed	File uploads/storage	1.0		fixed			Accepted	1	0	0	0	0	0
