One possible fix is to parse the subject header's content by turning it
into a Header object.  This seems to work for simply sending a message
through, but I don't know if every use of the Subject header in Mailman
works correctly if the value is a Header object instead of a string.

It does seem like a bug in the underlying email package, though; I've
filed http://bugs.python.org/issue8769 in the Python bug tracker.

** Bug watch added: Python Roundup #8769
   http://bugs.python.org/issue8769

** Attachment added: "Possible fix"
   http://launchpadlibrarian.net/48871021/rfc2047-patch.txt

-- 
mailman corrupts RFC2047-encoded headers
https://bugs.launchpad.net/bugs/266375
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
_______________________________________________
Mailman-coders mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to