fix QP encoding
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 18 Aug 2011 09:53:01 +0000 (09:53 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 18 Aug 2011 10:45:57 +0000 (10:45 +0000)
     - once we decided to QP encode we also need to encode = (forgotten in last commit)

libcitadel/lib/stringbuf.c

index 114b453e4487849e4a19ee7be996c41a9d4975f5..ab6d523e9187dbd8a0d6cb8d85303521d14aba4f 100644 (file)
@@ -2437,6 +2437,7 @@ int StrBufRFC2047encode(StrBuf **target, const StrBuf *source)
                if ((ch  <  32) || 
                    (ch  > 126) || 
                    (ch ==  61) ||
+                   (ch == '=') ||
                    (ch == '[') ||
                    (ch == ']')   )
                {