From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 29 May 2020 06:30:27 +0000 (+0200)
Subject: Rename HTML block name 'https' to 'https-and-no-https-inspection'
X-Git-Tag: v_3_0_29~363
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/@default-cgi@show-url-info?a=commitdiff_plain;h=42a2dc902300df9e186cfcd6ba436f8962cc3026;p=privoxy.git

Rename HTML block name 'https' to 'https-and-no-https-inspection'

The block is only relevant when compiled without FEATURE_HTTPS_INSPECTION.

Sponsored by: Robert Klemme
---

diff --git a/cgisimple.c b/cgisimple.c
index 148f0617..f962fdfa 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1445,7 +1445,7 @@ jb_err cgi_show_url_info(struct client_state *csp,
       if (!url_to_query->ssl)
 #endif
       {
-         if (map_block_killer(exports, "https"))
+         if (map_block_killer(exports, "https-and-no-https-inspection"))
          {
             free_current_action(action);
             free_map(exports);
diff --git a/templates/show-url-info b/templates/show-url-info
index bb2dc91d..0514a4a9 100644
--- a/templates/show-url-info
+++ b/templates/show-url-info
@@ -190,11 +190,11 @@
     </tr>
     <tr>
       <td class="box">
-<!-- @if-https-start -->
+<!-- @if-https-and-no-https-inspection-start -->
         <h2>NOTE:</h2>
         <p>This is a HTTPS URL, so the part after the "/" is ignored
           as Privoxy doesn't see the path for real HTTPS requests either.</p>
-<!-- if-https-end@ -->
+<!-- if-https-and-no-https-inspection-end@ -->
 <!-- if-valid-url-end@ -->
         <h2>Matches for <a href="@url@">@url@</a>:</h2>
         @matches@