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

libcitadel/lib/stringbuf.c

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