From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 23 Jan 2017 16:12:18 +0000 (+0000)
Subject: Revert r1.165 which didn't perform as advertised
X-Git-Tag: v_3_0_27~223
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@default-cgi@edit-actions-remove-url?a=commitdiff_plain;h=3229d1e2b39283a8827f3e04f43d00680144e25d;p=privoxy.git

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@.
---

diff --git a/cgi.c b/cgi.c
index 5195eac3..b96dd431 100644
--- 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 $
@@ -1389,7 +1389,7 @@ char *add_help_link(const char *item,
    }
    else
    {
-      string_append(&result, "https://");
+      string_append(&result, "http://");
       string_append(&result, CGI_SITE_2_HOST);
       string_append(&result, "/user-manual/");
    }