[Privoxy-commits] [privoxy] 07/08: Add missing client-body-tagger data to the action_type_info[] struct
User Git
git at git.privoxy.org
Sat Sep 9 11:55:21 CEST 2023
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit e32d03e08581b292864d70768c6172e42e979b1c
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sat Sep 9 08:55:33 2023 +0200
Add missing client-body-tagger data to the action_type_info[] struct
... so lookups based on the action index work correctly again.
Prevents assertion failures or segfaults when trying to edit
an action file with the CGI editor.
The type of failure depended on whether or not assertions
were enabled and on whether or not Privoxy had been compiled
with FEATURE_EXTERNAL_FILTERS.
Regression introduced in Privoxy 3.0.34.
Patch submitted by Aaron Li in #940.
---
cgiedit.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/cgiedit.c b/cgiedit.c
index ff14dbbc..ab05d79b 100644
--- a/cgiedit.c
+++ b/cgiedit.c
@@ -252,6 +252,12 @@ static const struct action_type_info action_type_info[] =
"client-body-filter-all", "client_body_filter_all",
"P", "CLIENT-BODY-FILTER"
},
+ {
+ ACTION_MULTI_CLIENT_BODY_TAGGER,
+ "client-body-tagger-params", "client-body-tagger",
+ "client-body-tagger-all", "client_body_tagger_all",
+ "Q", "CLIENT-BODY-TAGGER"
+ },
{
ACTION_MULTI_ADD_HEADER,
"add-header-params", "add-header",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list