From: Wilfried Göesgens Date: Tue, 3 Mar 2009 22:39:20 +0000 (+0000) Subject: * implement U escaper in StrBufAppendTemplate it was missing (*ups*) X-Git-Tag: v7.86~1386 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=2c5c1a724f69f2a88942d494c5e3721032626c6b;p=citadel.git * implement U escaper in StrBufAppendTemplate it was missing (*ups*) * use right escaper for subjects in editors --- diff --git a/webcit/static/t/edit_message.html b/webcit/static/t/edit_message.html index b33c7e604..9bcc50755 100644 --- a/webcit/static/t/edit_message.html +++ b/webcit/static/t/edit_message.html @@ -74,7 +74,7 @@ - " size=45 maxlength=70> + " size=45 maxlength=70> diff --git a/webcit/subst.c b/webcit/subst.c index 6848f58d0..19049c531 100644 --- a/webcit/subst.c +++ b/webcit/subst.c @@ -1017,8 +1017,11 @@ void StrBufAppendTemplate(StrBuf *Target, StrEscAppend(Target, Source, NULL, 0, 0); break; case 'J': - StrECMAEscAppend(Target, Source, NULL); + StrECMAEscAppend(Target, Source, NULL); break; + case 'U': + StrBufUrlescAppend(Target, Source, NULL); + break; default: StrBufAppendBuf(Target, Source, 0); }