Rename HTML block name 'https' to 'https-and-no-https-inspection'
authorFabian Keil <fk@fabiankeil.de>
Fri, 29 May 2020 06:30:27 +0000 (08:30 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 1 Jun 2020 08:06:41 +0000 (10:06 +0200)
The block is only relevant when compiled without FEATURE_HTTPS_INSPECTION.

Sponsored by: Robert Klemme

cgisimple.c
templates/show-url-info

index 148f061..f962fdf 100644 (file)
@@ -1445,7 +1445,7 @@ jb_err cgi_show_url_info(struct client_state *csp,
       if (!url_to_query->ssl)
 #endif
       {
       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);
          {
             free_current_action(action);
             free_map(exports);
index bb2dc91..0514a4a 100644 (file)
     </tr>
     <tr>
       <td class="box">
     </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>
         <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@
 <!-- if-valid-url-end@ -->
         <h2>Matches for <a href="@url@">@url@</a>:</h2>
         @matches@