* add a leading '?'
authorWilfried Göesgens <willi@citadel.org>
Tue, 17 Aug 2010 22:02:10 +0000 (22:02 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 17 Aug 2010 22:02:10 +0000 (22:02 +0000)
webcit/paramhandling.c

index c2189a0baccd79674a112726020a7a6767664c01..d1edfeb066270be3420b1f523e5479da8ebc17e4 100644 (file)
@@ -382,6 +382,7 @@ void tmplput_bstrforward(StrBuf *Target, WCTemplputParams *TP)
 {
        const StrBuf *Buf = SBstr(TKEY(0));
        if (Buf != NULL) {
+               StrBufAppendBufPlain(Target, HKEY("?"), 0);             
                StrBufAppendBufPlain(Target, TKEY(0), 0);
                StrBufAppendBufPlain(Target, HKEY("="), 0);             
                StrBufAppendTemplate(Target, TP, Buf, 1);