Message268589
One additional observation. The original message contained no Content-Transfer-Encoding header even though the message body was raw koi8-r characters. Adding
Content-Transfer-Encoding: 8bit
to the message headers avoids the issue, but that is not a practical solution as the message was Russian spam received by a Mailman list and the resultant KeyError caused problems in Mailman.
We can work on defending against this in Mailman, but I suggest that the munge_cte code in generator._write() avoid the documented possible KeyError raised by replace_header() by using __delitem__() and __setitem__() instead as in the attached generator.patch. |
|
Date |
User |
Action |
Args |
2016-06-14 22:54:21 | msapiro | set | recipients:
+ msapiro, barry, r.david.murray, maciej.szulik |
2016-06-14 22:54:21 | msapiro | set | messageid: <1465944861.88.0.0753435942904.issue27321@psf.upfronthosting.co.za> |
2016-06-14 22:54:21 | msapiro | link | issue27321 messages |
2016-06-14 22:54:21 | msapiro | create | |
|