current cgi.c,1.169,1.170

Fabian Keil <[email protected]> Mon, 23 Jan 2017 16:12:20 +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-serv25118

Modified Files:
	cgi.c 
Log Message:
Revert r1.165 which didn't perform as advertised

While the idea was to use "https:// when creating links
for the user manual on the website", the actual effect
was to use "https://" when Privoxy was supposed to serve
the user manual itself.

Reverting the commit is sufficient as the "use https://
when creating links for the user manual on the website"
use case is already covered by project.h r1.214.

Reported by Yossi Zahn on Privoxy-devel@.


Index: cgi.c
===================================================================
RCS file: /cvsroot/ijbswa/current/cgi.c,v
retrieving revision 1.169
retrieving revision 1.170
diff -C2 -d -r1.169 -r1.170
*** cgi.c	23 Jan 2017 13:05:26 -0000	1.169
--- cgi.c	23 Jan 2017 16:12:18 -0000	1.170
***************
*** 1390,1394 ****
     else
     {
!       string_append(&result, "https://");
        string_append(&result, CGI_SITE_2_HOST);
        string_append(&result, "/user-manual/");
--- 1390,1394 ----
     else
     {
!       string_append(&result, "http://");
        string_append(&result, CGI_SITE_2_HOST);
        string_append(&result, "/user-manual/");


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