Found another one in tkt.c BR, Johan
On Thu, Jun 8, 2017 at 7:10 PM, Richard Hipp <d...@sqlite.org> wrote: > On 6/8/17, Johan Kuuse <jo...@kuu.se> wrote: >> Hi, >> >> Playing around with 'fossil test-http' I found an error in the >> /setup_adunit output. >> Patch attached, >> > > Good catch. Fix is checked in. > -- > D. Richard Hipp > d...@sqlite.org
Index: src/tkt.c ================================================================== --- src/tkt.c +++ src/tkt.c @@ -749,18 +749,18 @@ cgi_redirectf("tktview?name=%T", zName); } style_header("Edit Ticket"); if( zName==0 || (nName = strlen(zName))<4 || nName>UUID_SIZE || !validate16(zName,nName) ){ - @ <span class="tktError">Not a valid ticket id: \"%h(zName)\"</span> + @ <span class="tktError">Not a valid ticket id: "%h(zName)"</span> style_footer(); return; } nRec = db_int(0, "SELECT count(*) FROM ticket WHERE tkt_uuid GLOB '%q*'", zName); if( nRec==0 ){ - @ <span class="tktError">No such ticket: \"%h(zName)\"</span> + @ <span class="tktError">No such ticket: "%h(zName)"</span> style_footer(); return; } if( nRec>1 ){ @ <span class="tktError">%d(nRec) tickets begin with:
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users