current cgisimple.c,1.145,1.146

Fabian Keil <[email protected]> Mon, 20 Feb 2017 13:45:16 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15286

Modified Files:
	cgisimple.c 
Log Message:
Use absolute URLs in the client-tag forms

It's more consistent with the rest of the CGI page
URLs and makes it more convenient to copy the forms
to external pages.


Index: cgisimple.c
===================================================================
RCS file: /cvsroot/ijbswa/current/cgisimple.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -C2 -d -r1.145 -r1.146
*** cgisimple.c	23 Jan 2017 13:05:12 -0000	1.145
--- cgisimple.c	20 Feb 2017 13:45:14 -0000	1.146
***************
*** 311,315 ****
  
     snprintf(form, size,
!       "<form method=\"GET\" action=\"toggle-client-tag\" style=\"display: inline\">\n"
        " <input type=\"hidden\" name=\"tag\" value=\"%s\">\n"
        " <input type=\"hidden\" name=\"toggle-state\" value=\"%u\">\n"
--- 311,315 ----
  
     snprintf(form, size,
!       "<form method=\"GET\" action=\""CGI_PREFIX"toggle-client-tag\" style=\"display: inline\">\n"
        " <input type=\"hidden\" name=\"tag\" value=\"%s\">\n"
        " <input type=\"hidden\" name=\"toggle-state\" value=\"%u\">\n"


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot