Revert r1.165 which didn't perform as advertised
authorFabian Keil <fk@fabiankeil.de>
Mon, 23 Jan 2017 16:12:18 +0000 (16:12 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 23 Jan 2017 16:12:18 +0000 (16:12 +0000)
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@.

cgi.c

diff --git a/cgi.c b/cgi.c
index 5195eac..b96dd43 100644 (file)
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-const char cgi_rcs[] = "$Id: cgi.c,v 1.168 2017/01/23 13:05:12 fabiankeil Exp $";
+const char cgi_rcs[] = "$Id: cgi.c,v 1.169 2017/01/23 13:05:26 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/cgi.c,v $
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/cgi.c,v $
@@ -1389,7 +1389,7 @@ char *add_help_link(const char *item,
    }
    else
    {
    }
    else
    {
-      string_append(&result, "https://");
+      string_append(&result, "http://");
       string_append(&result, CGI_SITE_2_HOST);
       string_append(&result, "/user-manual/");
    }
       string_append(&result, CGI_SITE_2_HOST);
       string_append(&result, "/user-manual/");
    }