[Mailman-Developers] [PATCH] Fix endless prefix adding with q-p/base64 Subject lines

Miroslaw Jaworski mjaw@ipartners.pl
Mon, 8 Apr 2002 09:44:41 +0200


* Ben Gertzfield (che@debian.org) [020408 08:59] wrote:
> On Monday, April 8, 2002, at 01:05 , Fil wrote:
> 
> > This is a two-prefix subject line (taken from the mailman .mbox file, in
> > order to be sure)
> >
> >     Subject: [Spip] =?iso-8859-1?Q?Re:_=5BSpip=5D_exclusion_mot_cl=E9s?=
> >
> 
> Fil,
> 
> I just checked CVS and you are indeed right.  I thought I had sent this 
> patch in ages ago, but I can't find it in the archives.
> 
> Barry, this patch to CookHeaders.py fixes this issue of endless prefix 
> string adding if the Subject line gets encoded, by decoding the Subject 
> line before searching for the prefix.  It encodes the new prefix if 
> needed as a separate chunk in the new Subject header.  This will allow 
> for Japanese, French, whatever prefix strings.
> 
> I really apologize, I thought it was sent in and applied many moons 
> ago.  I need a better brain. :)
> 
> I'm attaching the patch, but this is the crazy Mac OS X Mail.app, so who 
> knows if it will be readable or not.  In case it's not, here is a URL 
> for the patch:
> 
> http://people.debian.org/~che/mailman/patches/cook-headers.patch

The same problem appeared when whole body was encoded - textual Mailman 
signature was appended to the post; MUA recognizes and decodes the 
message - textual Mailman signature becomes a visible trash.

Problem was already addressed, and is solved in MM2.1

MJ.

-- 
Miroslaw.Jaworski@ipartners.pl  ( Psyborg )  MJ102-RIPE  Internet Partners
Server Administration Department Manager