diff options
author | Stanislav Malyshev <stas@php.net> | 2000-12-12 10:47:47 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2000-12-12 10:47:47 +0000 |
commit | 0731f54d35ba54a60a3011964e38339893b181e7 (patch) | |
tree | ff73466aa58ad43e9c7dcb8cadc4b2338f5f3b31 /main/php_variables.h | |
parent | 868c8769f8adfb6100c291fe25880c50b84e4ab7 (diff) | |
download | php-git-0731f54d35ba54a60a3011964e38339893b181e7.tar.gz |
Fix #7987: POST/GET: string with \0(%00) values not parsed correctly
Diffstat (limited to 'main/php_variables.h')
-rw-r--r-- | main/php_variables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_variables.h b/main/php_variables.h index bd0a98810a..40c63206a2 100644 --- a/main/php_variables.h +++ b/main/php_variables.h @@ -33,6 +33,8 @@ void php_treat_data(int arg, char *str, zval* destArray ELS_DC PLS_DC SLS_DC); PHPAPI void php_import_environment_variables(zval *array_ptr ELS_DC PLS_DC); PHPAPI void php_register_variable(char *var, char *val, pval *track_vars_array ELS_DC PLS_DC); +/* binary-safe version */ +PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, pval *track_vars_array ELS_DC PLS_DC); PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_array ELS_DC PLS_DC); |