From 6cbfccde68100f14bc162eb5198c904f8dfc2dfd Mon Sep 17 00:00:00 2001 From: Fabian Keil <fk@fabiankeil.de> Date: Thu, 4 May 2017 14:33:17 +0000 Subject: [PATCH] Show the FEATURE_EXTERNAL_FILTERS status on the status page Better late than never. Previously a couple of tests weren't executed as Privoxy-Regression-Test couldn't detect that the FEATURE_EXTERNAL_FILTERS dependency was sattisfied. --- cgisimple.c | 10 +++++++++- templates/show-status | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/cgisimple.c b/cgisimple.c index 74e5425c..638d787f 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.147 2017/02/20 13:47:04 fabiankeil Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.148 2017/03/08 13:13:18 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -1839,6 +1839,14 @@ static jb_err show_defines(struct map *exports) 1, #else 0, +#endif + }, + { + "FEATURE_EXTERNAL_FILTERS", +#ifdef FEATURE_EXTERNAL_FILTERS + 1, +#else + 0, #endif }, { diff --git a/templates/show-status b/templates/show-status index f0be0e8a..4b3a2ac4 100644 --- a/templates/show-status +++ b/templates/show-status @@ -275,6 +275,15 @@ Requires the connection-sharing config directive to be set. </td> </tr> + <tr> + <td><code>FEATURE_EXTERNAL_FILTERS</code></td> + <td>@if-FEATURE_EXTERNAL_FILTERS-then@ Yes @else-not-FEATURE_EXTERNAL_FILTERS@ No @endif-FEATURE_EXTERNAL_FILTERS@</td> + <td> + Allows to <a href="@user-manual@actions-file.html#EXTERNAL-FILTER">filter content + with external scripts and programs</a> written in any language the system Privoxy + runs on supports. + </td> + </tr> <tr> <td><code>FEATURE_DYNAMIC_PCRE</code></td> <td>@if-FEATURE_DYNAMIC_PCRE-then@ Yes @else-not-FEATURE_DYNAMIC_PCRE@ No @endif-FEATURE_DYNAMIC_PCRE@</td> -- 2.49.0