summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2016-10-12 20:48:22 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2016-10-12 20:48:22 (GMT)
commitf26592c41232219275004403b426b8bffeaa6c6f (patch)
tree234702cca2da81c2cafbe69238c31cfd49886bd6
parent63c4d2db479e17f91e61616fd736185277524d89 (diff)
downloadtdepim-f26592c4.zip
tdepim-f26592c4.tar.gz
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 <deloptes@gmail.com>
-rw-r--r--libkcal/versit/vcc.c1
-rw-r--r--libkcal/versit/vcc.y1
2 files changed, 2 insertions, 0 deletions
diff --git a/libkcal/versit/vcc.c b/libkcal/versit/vcc.c
index 0dfc6bf..4351d6b 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 fbfee0f..e3504bf 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('=');