Opened 9 years ago

Closed 9 years ago

#4910 closed (fixed)

Enable smart_str encoding of email text attachments

Reported by: anonymous Owned by: anonymous
Component: Core (Mail) Version: master
Severity: Keywords:
Cc: djoume@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 (1)

fix_attachment_encoding.diff (686 bytes) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by anonymous

comment:1 Changed 9 years ago by djoume@…

Cc: djoume@… added

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

comment:2 Changed 9 years ago by Simon G. <dev@…>

Summary: Bad encoding of email text attachmentsEnable smart_str encoding of email text attachments
Triage Stage: UnreviewedReady for checkin

comment:3 Changed 9 years ago by anonymous

Component: django.core.mailGeneric views
Keywords: bnmnb added
Owner: changed from Adrian Holovaty to anonymous
Triage Stage: Ready for checkinAccepted

comment:4 Changed 9 years ago by Simon G. <dev@…>

Component: Generic viewsdjango.core.mail
Keywords: bnmnb removed
Triage Stage: AcceptedReady for checkin

This isn't a toy. Please play elsewhere.

comment:5 Changed 9 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top