Django

Code

Ticket #4498 (new)

Opened 1 year ago

Last modified 6 months ago

File upload ignores Content-Transfer-Encoding

Reported by: sciyoshi@gmail.com Assigned to: nobody
Milestone: Component: Core framework
Version: SVN Keywords: file upload encoding
Cc: sciyoshi@gmail.com Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

file_upload.patch (0.6 kB) - added by sciyoshi@gmail.com on 06/06/07 22:54:36.
Small fix

Change History

06/06/07 22:54:36 changed by sciyoshi@gmail.com

  • attachment file_upload.patch added.

Small fix

02/27/08 19:44:17 changed by jacob

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

Add/Change #4498 (File upload ignores Content-Transfer-Encoding)




Change Properties
Action