summaryrefslogtreecommitdiff
path: root/src/sp_config_keywords.c
diff options
context:
space:
mode:
authorChristian Göttsche2024-05-27 21:33:00 +0200
committerjvoisin2024-06-09 17:16:16 +0200
commitc7ce5c3528e8da8762e6e7067001549e109397ba (patch)
tree4c9606730af25a8f893193b7cc5cb718a20c3f35 /src/sp_config_keywords.c
parent849252c6a48b428dde3ad8930b40a2bdf9874cb7 (diff)
Add option to specify the allowed "php" wrapper types
In addition of the current possibility to filter wrappers by their protocol name, also add the option to filter the "php" wrapper by the requested kind. Especially the 'filter' backend can be disabled that way.
Diffstat (limited to 'src/sp_config_keywords.c')
-rw-r--r--src/sp_config_keywords.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c
index bf54428..0150a1e 100644
--- a/src/sp_config_keywords.c
+++ b/src/sp_config_keywords.c
@@ -190,6 +190,7 @@ SP_PARSE_FN(parse_wrapper_whitelist) {
190 190
191 sp_config_keyword config_keywords[] = { 191 sp_config_keyword config_keywords[] = {
192 {parse_list, SP_TOKEN_LIST, &cfg->whitelist}, 192 {parse_list, SP_TOKEN_LIST, &cfg->whitelist},
193 {parse_list, SP_TOKEN_ALLOW_PHP_STREAMS, &cfg->php_stream_allowlist},
193 {0, 0, 0}}; 194 {0, 0, 0}};
194 195
195 SP_PROCESS_CONFIG_KEYWORDS_ERR(); 196 SP_PROCESS_CONFIG_KEYWORDS_ERR();