From: Fabian Keil Date: Thu, 29 Oct 2009 16:53:56 +0000 (+0000) Subject: In the action lists on CGI pages, don't separate actions and their parameters with... X-Git-Tag: v_3_0_16~129 X-Git-Url: http://www.privoxy.org/gitweb/show-status?a=commitdiff_plain;h=43a77cc29aa0ed0564f3180bacfb024470d115fb;p=privoxy.git In the action lists on CGI pages, don't separate actions and their parameters with a space. The action file parser doesn't actually allow this and will throw an invalid syntax error if actions and parameters in the action files are separated. Not adding the spaces means copy and pasting CGI output into the action files works. --- diff --git a/cgi.c b/cgi.c index 526381fc..93af14b8 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -const char cgi_rcs[] = "$Id: cgi.c,v 1.124 2009/06/12 11:03:03 fabiankeil Exp $"; +const char cgi_rcs[] = "$Id: cgi.c,v 1.125 2009/06/14 14:37:08 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ @@ -1362,7 +1362,7 @@ char *add_help_link(const char *item, string_join (&result, string_toupper(item)); string_append(&result, "\">"); string_append(&result, item); - string_append(&result, " "); + string_append(&result, ""); return result; }