Django

Code

Ticket #4910 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Enable smart_str encoding of email text attachments

Reported by: anonymous Assigned to: anonymous
Milestone: Component: django.core.mail
Version: SVN Keywords:
Cc: djoume@taket.org Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Hi,

The unicode merge make use of smart_str for the body of email messages. I think the same thing should be done for text attachments, see patch attached.

Cheers

Attachments

fix_attachment_encoding.diff (0.7 kB) - added by anonymous on 07/17/07 15:05:50.

Change History

07/17/07 15:05:50 changed by anonymous

  • attachment fix_attachment_encoding.diff added.

07/17/07 15:09:45 changed by djoume@taket.org

  • cc set to djoume@taket.org.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

I have forgotten to put my email address, just in case you need more info...

07/25/07 20:31:02 changed by Simon G. <dev@simon.net.nz>

  • summary changed from Bad encoding of email text attachments to Enable smart_str encoding of email text attachments.
  • stage changed from Unreviewed to Ready for checkin.

08/01/07 03:05:38 changed by anonymous

  • keywords set to bnmnb.
  • owner changed from adrian to anonymous.
  • component changed from django.core.mail to Generic views.
  • stage changed from Ready for checkin to Accepted.

08/01/07 05:02:10 changed by Simon G. <dev@simon.net.nz>

  • keywords deleted.
  • component changed from Generic views to django.core.mail.
  • stage changed from Accepted to Ready for checkin.

This isn't a toy. Please play elsewhere.

08/11/07 07:10:07 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

(In [5854]) Fixed #4910 -- Allow Unicode content to be passed in for text-based e-mail attachments. Thanks, djoume@taket.org.


Add/Change #4910 (Enable smart_str encoding of email text attachments)




Change Properties
Action