Escape all RFC-2047 'especials' characters (Zarafa).

This commit is contained in:
Vincent Richard 2008-07-11 21:12:42 +00:00
parent 166f6206f4
commit 85cd5f7abf

View File

@ -223,10 +223,18 @@ const utility::stream::size_type encoderQP::encode(utility::inputStream& in,
QP_ENCODE_HEX('=')
break;
}
// RFC-2047 'especials' characters
case ',':
case ';':
case ':':
case '_':
case '@':
case '(':
case ')':
case '<':
case '>':
case '[':
case ']':
{
if (rfc2047)
{