Opened 8 years ago

Closed 5 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:

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

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by sciyoshi@…

Small fix

comment:1 Changed 7 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by adamnelson

  • Resolution set to worksforme
  • Status changed from new to closed

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