diff options
| author | Ben Fuhrmannek | 2016-05-21 13:39:07 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2016-05-21 13:39:07 +0200 |
| commit | 81550450b59193c36118e402b6003a9d40f3ae09 (patch) | |
| tree | aebf81af0a2b80bc239e2dc6cc170414eac5b4c7 /php_suhosin7.h | |
| parent | 31559eae6ca406b80cebf3b89279d6f7ffdbccf8 (diff) | |
post and file upload handling
Diffstat (limited to 'php_suhosin7.h')
| -rw-r--r-- | php_suhosin7.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/php_suhosin7.h b/php_suhosin7.h index 8a58ef6..6c515ba 100644 --- a/php_suhosin7.h +++ b/php_suhosin7.h | |||
| @@ -205,16 +205,16 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin7) | |||
| 205 | zend_bool disallow_post_ws; | 205 | zend_bool disallow_post_ws; |
| 206 | 206 | ||
| 207 | /* fileupload */ | 207 | /* fileupload */ |
| 208 | // zend_long upload_limit; | 208 | zend_long upload_max_newlines; |
| 209 | // zend_long upload_max_newlines; | 209 | zend_long upload_limit; |
| 210 | // zend_long num_uploads; | 210 | zend_long num_uploads; |
| 211 | // zend_bool upload_disallow_elf; | 211 | zend_bool upload_disallow_elf; |
| 212 | // zend_bool upload_disallow_binary; | 212 | zend_bool upload_disallow_binary; |
| 213 | // zend_bool upload_remove_binary; | 213 | zend_bool upload_remove_binary; |
| 214 | #ifdef SUHOSIN7_EXPERIMENTAL | 214 | #ifdef SUHOSIN7_EXPERIMENTAL |
| 215 | // zend_bool upload_allow_utf8; | 215 | zend_bool upload_allow_utf8; |
| 216 | #endif | 216 | #endif |
| 217 | // char *upload_verification_script; | 217 | char *upload_verification_script; |
| 218 | 218 | ||
| 219 | zend_bool no_more_variables; | 219 | zend_bool no_more_variables; |
| 220 | zend_bool no_more_get_variables; | 220 | zend_bool no_more_get_variables; |
| @@ -395,8 +395,12 @@ void suhosin_hook_ex_imp(); | |||
| 395 | void suhosin_hook_session(); | 395 | void suhosin_hook_session(); |
| 396 | #endif | 396 | #endif |
| 397 | 397 | ||
| 398 | void suhosin_hook_post_handlers(); | ||
| 399 | |||
| 398 | // ifilter.c | 400 | // ifilter.c |
| 399 | void suhosin_normalize_varname(char *varname); | 401 | void suhosin_normalize_varname(char *varname); |
| 402 | size_t suhosin_strnspn(const char *input, size_t n, const char *accept); | ||
| 403 | size_t suhosin_strncspn(const char *input, size_t n, const char *reject); | ||
| 400 | 404 | ||
| 401 | // cookiecrypt.c | 405 | // cookiecrypt.c |
| 402 | char *suhosin_cookie_decryptor(char *raw_cookie); | 406 | char *suhosin_cookie_decryptor(char *raw_cookie); |
| @@ -415,6 +419,7 @@ void suhosin_aes_gkey(int nb,int nk,char *key); | |||
| 415 | void suhosin_aes_encrypt(char *buff); | 419 | void suhosin_aes_encrypt(char *buff); |
| 416 | void suhosin_aes_decrypt(char *buff); | 420 | void suhosin_aes_decrypt(char *buff); |
| 417 | 421 | ||
| 422 | |||
| 418 | // | 423 | // |
| 419 | 424 | ||
| 420 | static inline void suhosin_bailout() | 425 | static inline void suhosin_bailout() |
