Opened 18 years ago

Closed 15 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

Description

Hi,

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

Download all attachments as: .zip

Change History (3)

by sciyoshi@…, 18 years ago

Attachment: file_upload.patch added

Small fix

comment:1 by Jacob, 17 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Adam Nelson, 15 years ago

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