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 09:53:01 +0000 (09:53 +0000)
     - once we decided to QP encode we also need to encode = (forgotten in last commit)

libcitadel/lib/stringbuf.c

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