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 11:58:14 +0000 (11:58 +0000)
libcitadel/lib/stringbuf.c

index 9ae76ca32507beeabcae41fd90152ad6bdbec01b..d4b2e666f1a289d6cde8da087e1bbc0d0f3a452f 100644 (file)
@@ -2680,6 +2680,7 @@ int StrBufRFC2047encode(StrBuf **target, const StrBuf *source)
                    (ch  > 126) || 
                    (ch ==  61) ||
                    (ch == '=') ||
+                    (ch == '?') ||
                    (ch == '_') ||
                    (ch == '[') ||
                    (ch == ']')   )