diff options
| author | Ben Fuhrmannek | 2021-09-16 11:32:41 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-09-16 11:32:41 +0200 |
| commit | 6e07cdb870513270a3c08abc7ecdca64ad2af400 (patch) | |
| tree | f9784435101f85d9ff0776c205421a7916b5854e /src/sp_config.h | |
| parent | 31d6a3cddd18cef447698ba2beaa7b5d9ab9dd94 (diff) | |
ported server.strip and server.encode features from suhosin
Diffstat (limited to 'src/sp_config.h')
| -rw-r--r-- | src/sp_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h index ccf2318..af9b905 100644 --- a/src/sp_config.h +++ b/src/sp_config.h | |||
| @@ -197,6 +197,8 @@ typedef struct { | |||
| 197 | bool hook_execute; | 197 | bool hook_execute; |
| 198 | char log_media; | 198 | char log_media; |
| 199 | u_long max_execution_depth; | 199 | u_long max_execution_depth; |
| 200 | bool server_encode; | ||
| 201 | bool server_strip; | ||
| 200 | 202 | ||
| 201 | HashTable *config_disabled_functions; | 203 | HashTable *config_disabled_functions; |
| 202 | HashTable *config_disabled_functions_hooked; | 204 | HashTable *config_disabled_functions_hooked; |
| @@ -288,6 +290,8 @@ typedef struct { | |||
| 288 | #define SP_TOKEN_ENV_VAR "cookie_env_var" | 290 | #define SP_TOKEN_ENV_VAR "cookie_env_var" |
| 289 | #define SP_TOKEN_LOG_MEDIA "log_media" | 291 | #define SP_TOKEN_LOG_MEDIA "log_media" |
| 290 | #define SP_TOKEN_MAX_EXECUTION_DEPTH "max_execution_depth" | 292 | #define SP_TOKEN_MAX_EXECUTION_DEPTH "max_execution_depth" |
| 293 | #define SP_TOKEN_SERVER_ENCODE "server_encode" | ||
| 294 | #define SP_TOKEN_SERVER_STRIP "server_strip" | ||
| 291 | 295 | ||
| 292 | // upload_validator | 296 | // upload_validator |
| 293 | #define SP_TOKEN_UPLOAD_SCRIPT "script" | 297 | #define SP_TOKEN_UPLOAD_SCRIPT "script" |
