[Dovecot] Search fails on underscores in quoted-printable

Timo Sirainen tss at iki.fi
Mon Jul 27 01:15:02 EEST 2009


On Fri, 2009-07-24 at 02:40 +0200, Andreas M. Kirchwitz wrote:
> When a message contains the text "under_score" and I let the
> server search for it, Dovecot does not find it in messages
> with a Content-Transfer-Encoding of "quoted-printable".
> 
> It works perfectly well with messages without Content-Transfer-Encoding.
> 
> If I replace the underscore with a space (search for "under score"),
> it magically matches on "under_score" (no space but underscore).
> Looks like something goes wrong with the encoding/decoding of
> quoted-printable (sorry, haven't tried with base64).

Thanks, fixed: http://hg.dovecot.org/dovecot-1.2/rev/ea84eb708efc
http://hg.dovecot.org/dovecot-1.2/rev/5b07514466c3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090726/6e091cc8/attachment.bin 


More information about the dovecot mailing list