[Mailman-Developers]
[ mailman-Bugs-637747 ] Mangled "Re:" in i18n subject header
noreply@sourceforge.net
noreply@sourceforge.net
Wed Nov 13 14:18:51 2002
Bugs item #637747, was opened at 2002-11-13 08:08
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=637747&group_id=103
Category: mail delivery
Group: 2.0.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Oleg Broytmann (phd)
Assigned to: Nobody/Anonymous (nobody)
>Summary: Mangled "Re:" in i18n subject header
Initial Comment:
Hello!
Look, here is the subject from a mailman-managed
mailing list:
Subject: [Bug]
=?koi8-r?B?UmU6IFtCdWddIFJlWzJdOiBbQnVnXSBSZTogW0J1Z10gUmU6IFtCdQ==?=
=?koi8-r?B?Z10g8NLPxMHF1NPRINPMwdfRztPLycog28vBxg==?=
Let me decode it:
import sys, email.Header
print email.Header.decode_header(sys.stdin.read())
[('Subject: [Bug]', None), ('Re: [Bug] Re[2]: [Bug] Re:
[Bug] Re: [Bug] \xf0\xd2\xcf\xc4\xc1\xc5\xd4\xd3\xd1
\xd3\xcc\xc1\xd7\xd1\xce\xd3\xcb\xc9\xca
\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.
----------------------------------------------------------------------
>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-11-13 09:18
Message:
Logged In: YES
user_id=12800
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=637747&group_id=103
More information about the Mailman-Developers
mailing list