Properly decode payload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Triaged
|
High
|
Unassigned |
Bug Description
With mailman 3.0.0a8
in src/mailman/
there is an issue with
body = part.get_
if you send a mail to <email address hidden>, with accents in the mail, in the signature for example, you get a body string encoded in iso-8859-1.
When you try to concatenate iso-8859-1 string with unicode, this the case when the mail body with "Unprocessed:" and "Ignored:" is generated, you get a UnicodeDecodeError ascii.
The code should be modified to correctly decode the mail body like it is done in src/mailman/
mcset = msg.get_
unicode(
There are similar issues in
src/mailman/
with the line: if line == '':
where it give you a warning because it compare an iso to an empty unicode.
and in src/mailman/
Oct 18 17:54:41 2011 (18207) Traceback (most recent call last):
File "/home/
self.
File "/home/
keepqueued = self._dispose(
File "/home/
process(mlist, msg, msgdata, mlist.start_chain)
File "/home/
if link.rule.
File "/home/
if ':' in line:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 14: invalid continuation byte
Currently, mailman is unusable for another language than English, like French.
tags: | added: mailman3 |
Changed in mailman: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: i18n |
Please Ignore this message, and any activity for next few minutes on this bug. Thi is for testing the api --maxking