aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoderQP.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2008-07-11 21:48:58 +0000
committerVincent Richard <[email protected]>2008-07-11 21:48:58 +0000
commit3d5b699cd9dcb01e33f1e4da066c027c4323f01e (patch)
tree07ae41dfa2b82e9d02689dd0dfdc2f10691faf4b /src/encoderQP.cpp
parentFixed 'negative unsigned' index causing crash (Zarafa). (diff)
downloadvmime-3d5b699cd9dcb01e33f1e4da066c027c4323f01e.tar.gz
vmime-3d5b699cd9dcb01e33f1e4da066c027c4323f01e.zip
Encode '?' characters to avoid breaking QP encoding (Zarafa).
Diffstat (limited to 'src/encoderQP.cpp')
-rw-r--r--src/encoderQP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoderQP.cpp b/src/encoderQP.cpp
index eff62b21..b9cb6238 100644
--- a/src/encoderQP.cpp
+++ b/src/encoderQP.cpp
@@ -258,7 +258,7 @@ const utility::stream::size_type encoderQP::encode(utility::inputStream& in,
default:
{
//if ((c >= 33 && c <= 60) || (c >= 62 && c <= 126))
- if (c >= 33 && c <= 126 && c != 61)
+ if (c >= 33 && c <= 126 && c != 61 && c != 63)
{
outBuffer[outBufferPos++] = c;
++curCol;