summaryrefslogtreecommitdiffstats
path: root/libkcal
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2016-10-12 22:48:22 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-10-12 22:48:22 +0200
commitf26592c41232219275004403b426b8bffeaa6c6f (patch)
tree234702cca2da81c2cafbe69238c31cfd49886bd6 /libkcal
parent63c4d2db479e17f91e61616fd736185277524d89 (diff)
downloadtdepim-f26592c41232219275004403b426b8bffeaa6c6f.tar.gz
tdepim-f26592c41232219275004403b426b8bffeaa6c6f.zip
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>
Diffstat (limited to 'libkcal')
-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 0dfc6bff6..4351d6b08 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 fbfee0f6e..e3504bfee 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('=');