From c6ae2ae325d235baed559fa8227e278e96efc68c Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 24 Jan 2019 13:24:14 +0100
Subject: [PATCH] Show the FEATURE_HTTPS_FILTERING status on the show-status
page
---
cgisimple.c | 8 ++++++++
templates/show-status | 5 +++++
2 files changed, 13 insertions(+)
diff --git a/cgisimple.c b/cgisimple.c
index 5711087e..a7678ae2 100644
--- a/cgisimple.c
+++ b/cgisimple.c
@@ -1828,6 +1828,14 @@ static jb_err show_defines(struct map *exports)
1,
#else
0,
+#endif
+ },
+ {
+ "FEATURE_HTTPS_FILTERING",
+#ifdef FEATURE_HTTPS_FILTERING
+ 1,
+#else
+ 0,
#endif
},
{
diff --git a/templates/show-status b/templates/show-status
index 4b3a2ac4..c7844a79 100644
--- a/templates/show-status
+++ b/templates/show-status
@@ -308,6 +308,11 @@
<td>@if-FEATURE_GRACEFUL_TERMINATION-then@ Yes @else-not-FEATURE_GRACEFUL_TERMINATION@ No @endif-FEATURE_GRACEFUL_TERMINATION@</td>
<td>Allows to shutdown Privoxy through the web interface.</td>
</tr>
+ <tr>
+ <td><code>FEATURE_HTTPS_FILTERING</code></td>
+ <td>@if-FEATURE_HTTPS_FILTERING-then@ Yes @else-not-FEATURE_HTTPS_FILTERING@ No @endif-FEATURE_HTTPS_FILTERING@</td>
+ <td>Allows to intercept and filter HTTPS traffic.</td>
+ </tr>
<tr>
<td><code>FEATURE_IMAGE_BLOCKING</code></td>
<td>@if-FEATURE_IMAGE_BLOCKING-then@ Yes @else-not-FEATURE_IMAGE_BLOCKING@ No @endif-FEATURE_IMAGE_BLOCKING@</td>
--
2.50.1