[Privoxy-commits] [privoxy] 01/19: Allow to set and unset external filters through the CGI editor
User Git
git at git.privoxy.org
Mon Mar 16 07:54:49 CET 2026
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit e0bd34bce44be211db2a14157cd59c8141a15c4d
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Mar 3 12:24:28 2026 +0100
Allow to set and unset external filters through the CGI editor
---
cgiedit.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/cgiedit.c b/cgiedit.c
index 80f20d87..22ce7a32 100644
--- a/cgiedit.c
+++ b/cgiedit.c
@@ -238,7 +238,7 @@ static const struct action_type_info action_type_info[] =
ACTION_MULTI_SERVER_HEADER_TAGGER,
"server-header-tagger-params", "server-header-tagger",
"server-header-tagger-all", "server_header_tagger_all",
- "E", "SERVER-HEADER-TAGGER"
+ "M", "SERVER-HEADER-TAGGER"
},
{
ACTION_MULTI_SUPPRESS_TAG,
@@ -3362,12 +3362,17 @@ jb_err cgi_edit_actions_submit(struct client_state *csp,
case 'L':
multi_action_index = ACTION_MULTI_CLIENT_HEADER_TAGGER;
break;
- case 'E':
+ case 'M':
multi_action_index = ACTION_MULTI_SERVER_HEADER_TAGGER;
break;
case 'P':
multi_action_index = ACTION_MULTI_CLIENT_BODY_FILTER;
break;
+#ifdef FEATURE_EXTERNAL_FILTERS
+ case 'E':
+ multi_action_index = ACTION_MULTI_EXTERNAL_FILTER;
+ break;
+#endif
default:
log_error(LOG_LEVEL_ERROR,
"Unknown filter type: %c for filter %s. Filter ignored.", type, name);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list