#5778: Email subjects not encoded properly
------------------------------------------------------------+---------------
Reporter: Thomas Petazzoni <[EMAIL PROTECTED]> | Owner:
nobody
Status: new |
Component: Core framework
Version: SVN |
Resolution:
Keywords: |
Stage: Accepted
Has_patch: 0 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
------------------------------------------------------------+---------------
Changes (by mtredinnick):
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
Comment:
Yes. Good catch.
I'll have to check the behaviour of Header. This might need some tweaking
from memory. The point is that when I was writing the current code, there
were times when headers were being pointlessly encoded even when they
could be represented directly (particularly ASCII text). So, providing it
doesn't try to wrap ASCII up in anything fancy, this is the right fix.
Otherwise, we need to check that the data really is non-ASCII before
making a Header() out of it.
--
Ticket URL: <http://code.djangoproject.com/ticket/5778#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---