From 6cf41422b99349e14b58d20b5b845ee2d4e578b8 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 28 Feb 2020 08:55:50 +0100 Subject: [PATCH] cgi_show_url_info(): Kill the "paths are ignored for https URLs" block ... unconditionally if FEATURE_HTTPS_INSPECTION is available. Sponsored by: Robert Klemme --- cgisimple.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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")) { -- 2.39.2