QP-Encode questionmarks.
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 20 Aug 2011 11:58:14 +0000 (11:58 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 20 Aug 2011 12:06:21 +0000 (12:06 +0000)
libcitadel/lib/stringbuf.c

index cfe42730c4c79ff0c257d63e5288b7922ace6d5f..2ee3a2534aca8384985482867e7a739918612ab9 100644 (file)
@@ -2664,6 +2664,7 @@ int StrBufRFC2047encode(StrBuf **target, const StrBuf *source)
                    (ch  > 126) || 
                    (ch ==  61) ||
                    (ch == '=') ||
+                    (ch == '?') ||
                    (ch == '_') ||
                    (ch == '[') ||
                    (ch == ']')   )