Code

Opened 7 years ago

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

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by sciyoshi@…

Small fix

comment:1 Changed 6 years ago by jacob

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

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.