QP-Encode questionmarks.
[citadel.git] / 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 == ']')   )