[Mailman-Developers] [ mailman-Patches-528031 ] avoid double prefixes for mimed subjects

noreply@sourceforge.net noreply@sourceforge.net
Fri, 09 Aug 2002 16:46:57 -0700


Patches item #528031, was opened at 2002-03-10 02:15
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=528031&group_id=103

Category: mail delivery
Group: Mailman 2.0.x
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Dmitry Kohmanyuk (dk379)
Assigned to: Nobody/Anonymous (nobody)
Summary: avoid double prefixes for mimed subjects

Initial Comment:
this patch checks subject: line for being mime-encoded
with charset, and if this the case, decodes is for the
purpose of prefix checking.

this avoids replies with subject
encoded( Re: [listname] old subject.. )

to be converted to
[listname] encoded( Re: [listname] old subject...)

ad infinitum.

patch originally developed by vaget at vaget dot org
and beautified by me.


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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-08-09 19:46

Message:
Logged In: YES 
user_id=12800

Since this patch is against MM2.0, I'm going to reject it. 
Security patches only now for MM2.0.x.

On a related note, CookHeaders.py in MM2.1 should have
enough smarts to avoid adding the prefix to encoded headers,
although it could miss prefixes which contain spaces and
where each word is in a separate encoded chunk.  I think in
practice this is unlikely.

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

Comment By: Mikhail Zabaluev (mzabaluev)
Date: 2002-04-03 17:05

Message:
Logged In: YES 
user_id=313104

This patch does the job, although EncWord functionality is
somewhat moot: it assumes that any string is encoded using
at most one non-ASCII charset. Which _might_ be wrong.
Decoding into a Unicode string with regard to charsets would
be cleaner, but OTOH it would require codec support and
hence would bring additional complexity and trigger more
untrampled bugs.

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

Comment By: Martin v. L÷wis (loewis)
Date: 2002-04-02 02:39

Message:
Logged In: YES 
user_id=21627

How does this relate to patch

http://sourceforge.net/tracker/index.php?func=detail&aid=498766&group_id=103&atid=300103

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=528031&group_id=103