From cb32941991a8f29657393b2aca94ac622775d12d Mon Sep 17 00:00:00 2001 From: Emanoil Kotsev Date: Wed, 12 Oct 2016 22:48:22 +0200 Subject: [PATCH] Fix decoding quoted printable multiline string with blank space on beginning of line in libkcal/versit This resolves bug 2688 Signed-off-by: Emanoil Kotsev (cherry picked from commit f26592c41232219275004403b426b8bffeaa6c6f) --- libkcal/versit/vcc.c | 1 + libkcal/versit/vcc.y | 1 + 2 files changed, 2 insertions(+) diff --git a/libkcal/versit/vcc.c b/libkcal/versit/vcc.c index 0dfc6bff..4351d6b0 100644 --- a/libkcal/versit/vcc.c +++ b/libkcal/versit/vcc.c @@ -2264,6 +2264,7 @@ static char* lexGetQuotedPrintable() /* single '=' follow by LINESEP is continuation sign? */ if (next[0] == '\n') { ++mime_lineNum; + lexSkipWhite(); } else { lexPushLookaheadc('='); diff --git a/libkcal/versit/vcc.y b/libkcal/versit/vcc.y index fbfee0f6..e3504bfe 100644 --- a/libkcal/versit/vcc.y +++ b/libkcal/versit/vcc.y @@ -1000,6 +1000,7 @@ static char* lexGetQuotedPrintable() /* single '=' follow by LINESEP is continuation sign? */ if (next[0] == '\n') { ++mime_lineNum; + lexSkipWhite(); } else { lexPushLookaheadc('=');