Opened 14 years ago

Closed 11 years ago

#4498 closed (worksforme)

File upload ignores Content-Transfer-Encoding

Reported by: sciyoshi@… Owned by: nobody
Component: Core (Other) Version: dev
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: no UI/UX: no



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@… 14 years ago.
Small fix

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by sciyoshi@…

Attachment: file_upload.patch added

Small fix

comment:1 Changed 13 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:2 Changed 11 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