diff options
| author | Christian Göttsche | 2024-05-27 21:33:00 +0200 |
|---|---|---|
| committer | jvoisin | 2024-06-09 17:16:16 +0200 |
| commit | c7ce5c3528e8da8762e6e7067001549e109397ba (patch) | |
| tree | 4c9606730af25a8f893193b7cc5cb718a20c3f35 /src/sp_config_keywords.c | |
| parent | 849252c6a48b428dde3ad8930b40a2bdf9874cb7 (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.c | 1 |
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(); |
