Mangled "Re:" in i18n subject header
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hello!
Look, here is the subject from a mailman-managed
mailing list:
Subject: [Bug]
=?koi8-
=?koi8-
Let me decode it:
import sys, email.Header
print email.Header.
[('Subject: [Bug]', None), ('Re: [Bug] Re[2]: [Bug] Re:
[Bug] Re: [Bug] \xf0\xd2\
\xd3\xcc\
\xdb\xcb\xc1\xc6', 'koi8-r')]
Look how many "Re:"s re there!
The problem arise when Mailman adds list tag (in this
case [Bug]) to an *encoded* header. Mailman must decode
the header and check for "Re:" and list tag in the
decoded header.
All mailing lists that I know are guilty with the bug.
Let Mailman be the first that fixes it! Thank you.
[http://
Oleg, have you tried this with MM2.1? I think there's code
in there that tries to decode the header first before
searching for the prefix. I'm not surprised MM2.0 doesn't
do the right thing, but MM2.1 should.