Re: [fossil-users] Patch for setup.c - Was: "fossil http" doubts

2017-06-08 Thread Richard Hipp
Thanks.  Alternative fix checked in.

On 6/8/17, Johan Kuuse  wrote:
> Found another one in tkt.c
>
> BR,
> Johan
>
> On Thu, Jun 8, 2017 at 7:10 PM, Richard Hipp  wrote:
>> On 6/8/17, Johan Kuuse  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
>


-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Patch for setup.c - Was: "fossil http" doubts

2017-06-08 Thread Johan Kuuse
Found another one in tkt.c

BR,
Johan

On Thu, Jun 8, 2017 at 7:10 PM, Richard Hipp  wrote:
> On 6/8/17, Johan Kuuse  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) ){
-@ Not a valid ticket id: \"%h(zName)\"
+@ Not a valid ticket id: %h(zName)
 style_footer();
 return;
   }
   nRec = db_int(0, "SELECT count(*) FROM ticket WHERE tkt_uuid GLOB '%q*'",
 zName);
   if( nRec==0 ){
-@ No such ticket: \"%h(zName)\"
+@ No such ticket: %h(zName)
 style_footer();
 return;
   }
   if( nRec>1 ){
 @ %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


Re: [fossil-users] Patch for setup.c - Was: "fossil http" doubts

2017-06-08 Thread Richard Hipp
On 6/8/17, Johan Kuuse  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
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users