dovecot-1.2: quoted-printable decoding didn't handle QP after so...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Sep 11 02:13:55 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/f6d668562f5f
changeset: 9378:f6d668562f5f
user: Timo Sirainen <tss at iki.fi>
date: Thu Sep 10 19:13:51 2009 -0400
description:
quoted-printable decoding didn't handle QP after soft line breaks correctly.
Patch by Yamazaki Hideto.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-mail/quoted-printable.c | 4 ++--
diffs (21 lines):
diff -r 35c5f8d064f5 -r f6d668562f5f src/lib-mail/quoted-printable.c
--- a/src/lib-mail/quoted-printable.c Thu Sep 10 16:50:11 2009 -0400
+++ b/src/lib-mail/quoted-printable.c Thu Sep 10 19:13:51 2009 -0400
@@ -43,7 +43,7 @@ void quoted_printable_decode(const unsig
if (src[src_pos+1] == '\n') {
/* =\n -> skip both */
- src_pos += 2;
+ src_pos++;
next += 2;
continue;
}
@@ -53,7 +53,7 @@ void quoted_printable_decode(const unsig
if (src[src_pos+1] == '\r' && src[src_pos+2] == '\n') {
/* =\r\n -> skip both */
- src_pos += 3;
+ src_pos += 2;
next += 3;
continue;
}
More information about the dovecot-cvs
mailing list