[Mailman-Developers] [ mailman-Bugs-637747 ] Mangled "Re:" in i18n subject header

noreply@sourceforge.net noreply@sourceforge.net
Mon Nov 18 18:21:25 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: Closed
>Resolution: Fixed
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-18 13:21

Message:
Logged In: YES 
user_id=12800

I'm closing this because I believe it /is/ fixed in MM2.1
and it won't be fixed in MM2.0.x.

----------------------------------------------------------------------

Comment By: Oleg Broytmann (phd)
Date: 2002-11-13 09:29

Message:
Logged In: YES 
user_id=4799

Mailman 2.1 is still in beta. I don't dare to recommend it
to sysadmins - these are not my mailing lists, nor my hosts.
But it's good to know there is a fix. I'll give it a try
when you release 2.1-final.

----------------------------------------------------------------------

Comment By: Oleg Broytmann (phd)
Date: 2002-11-13 09:29

Message:
Logged In: YES 
user_id=4799

Mailman 2.1 is still in beta. I don't dare to recommend it
to sysadmins - these are not my mailing lists, nor my hosts.
But it's good to know there is a fix. I'll give it a try
when you release 2.1-final.

----------------------------------------------------------------------

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