Encode '?' characters to avoid breaking QP encoding (Zarafa).

This commit is contained in:
Vincent Richard 2008-07-11 21:48:58 +00:00
parent b9c6740957
commit 3d5b699cd9

View File

@ -258,7 +258,7 @@ const utility::stream::size_type encoderQP::encode(utility::inputStream& in,
default: default:
{ {
//if ((c >= 33 && c <= 60) || (c >= 62 && c <= 126)) //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; outBuffer[outBufferPos++] = c;
++curCol; ++curCol;