Opened 9 years ago

Closed 7 years ago

#4498 closed (worksforme)

File upload ignores Content-Transfer-Encoding

Reported by: sciyoshi@… Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords: file upload encoding
Cc: sciyoshi@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:



First of all, great job on Django! I've loved it since I first started using it about a year ago, great work :-)

I think there's a small bug in file uploads - Django seems to ignore the Content-Transfer-Encoding header so that
the file data can be sent in e.g. base64 encoding. I've attached a small patch against SVN that fixes it for me, but I don't know
which versions of Python this will work on and such.

Thanks a lot,
Samuel Cormier-Iijima

Attachments (1)

file_upload.patch (652 bytes) - added by sciyoshi@… 9 years ago.
Small fix

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by sciyoshi@…

Attachment: file_upload.patch added

Small fix

comment:1 Changed 9 years ago by Jacob

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Adam Nelson

Resolution: worksforme
Status: newclosed

I've never observed this to be a problem with many different upload situations including using pluggable storage backends, etc... Feel free to reopen if this is an issue for anybody still.

Note: See TracTickets for help on using tickets.
Back to Top