Minimum usable counts [was: Question]
David Relson
relson at osagesoftware.com
Tue May 26 01:39:59 CEST 2009
On Mon, 25 May 2009 23:39:14 +0200 (CEST)
Pavel Kankovsky wrote:
> On Mon, 25 May 2009, Stephen Davies wrote:
>
> > The actual texts were:
> >
> > h=<CR><LF>ere
> >
> > and
> >
> > h=<LF>ere
> >
> > The first case is the raw text received by sendmail, amavis-milter
> > and amavisd.
> >
> > The second is the text presented by kmail.
>
> What was the transfer encoding of (that part of) the message? Was is
> quoted printable?
>
> qp_decode() seems to recognize only "=\n" as a QP line continuation
> and this makes it choke on raw RFC 822/2822 message texts with lines
> terminated by CRLF pair.
H'lo Pavel,
Thanks for taking a look at the code. I think you spotted the
problem.
Attached is a patch for src/qp.c so that qp_decode calls qp_eol_check -
a new function that checks for both "=\n" and "=\r\n".
Stephen:
Give it a test.
Regards,
David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.0525.qp.txt
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20090525/c5ec51bf/attachment.txt>
More information about the Bogofilter
mailing list