From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 28 Feb 2020 07:55:50 +0000 (+0100)
Subject: cgi_show_url_info(): Kill the "paths are ignored for https URLs" block
X-Git-Tag: v_3_0_29~365
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/static/@user-manual@actions-file.html?a=commitdiff_plain;h=6cf41422b99349e14b58d20b5b845ee2d4e578b8;p=privoxy.git

cgi_show_url_info(): Kill the "paths are ignored for https URLs" block

... unconditionally if FEATURE_HTTPS_INSPECTION is available.

Sponsored by: Robert Klemme
---

diff --git a/cgisimple.c b/cgisimple.c
index 3029f14b..148f0617 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1438,9 +1438,12 @@ jb_err cgi_show_url_info(struct client_state *csp,
       }
 
       /*
-       * We have a warning about SSL paths.  Hide it for unencrypted sites.
+       * We have a warning about SSL paths. Hide it for unencrypted sites
+       * and unconditionally if https inspection is enabled.
        */
+#ifndef FEATURE_HTTPS_INSPECTION
       if (!url_to_query->ssl)
+#endif
       {
          if (map_block_killer(exports, "https"))
          {