Comment 0 for bug 348960

Revision history for this message
Matthias Andree (matthias-andree) wrote :

If MoinMoin is configured to send e-mail messages, and for instance uses this:

mail_from = u"Ex-Ample-Wiki <email address hidden>"

the resulting header is:

From: =?UTF-8?Q?Ex-Ample-Wiki_?=<email address hidden>

but it should be (note that we no longer encode the blank that separates the encoded word from the opening angle bracket):

From: =?UTF-8?Q?Ex-Ample-Wiki?= <email address hidden>

Please apply the attached patch to MoinMoin/mail/util.py (version 1.5.8, as found on Ubuntu 8.04 LTS Server). Later MoinMoin versions moved the affected method around, for instance to MoinMoin/mail/sendmail.py (version 1.8.2).

The upstream bug report is at http://moinmo.in/MoinMoinBugs/EmailShouldNotMIMEEncodeBlanks