diff options
author | Emanoil Kotsev <deloptes@gmail.com> | 2016-10-12 22:48:22 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-10-12 22:48:35 +0200 |
commit | cb32941991a8f29657393b2aca94ac622775d12d (patch) | |
tree | 6f4447a6f82b9f7851f436cbecd527b618ae0a70 /libkcal/versit | |
parent | 12257d6aaaf6ef328e701a7307ec9723f4d417f6 (diff) | |
download | tdepim-cb32941991a8f29657393b2aca94ac622775d12d.tar.gz tdepim-cb32941991a8f29657393b2aca94ac622775d12d.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>
(cherry picked from commit f26592c41232219275004403b426b8bffeaa6c6f)
Diffstat (limited to 'libkcal/versit')
-rw-r--r-- | libkcal/versit/vcc.c | 1 | ||||
-rw-r--r-- | libkcal/versit/vcc.y | 1 |
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('='); |