cgi_show_url_info(): Kill the "paths are ignored for https URLs" block
authorFabian Keil <fk@fabiankeil.de>
Fri, 28 Feb 2020 07:55:50 +0000 (08:55 +0100)
committerFabian Keil <fk@fabiankeil.de>
Mon, 1 Jun 2020 08:06:41 +0000 (10:06 +0200)
... unconditionally if FEATURE_HTTPS_INSPECTION is available.

Sponsored by: Robert Klemme

cgisimple.c

index 3029f14..148f061 100644 (file)
@@ -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"))
          {