summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-12-01 19:25:07 +0000
committerDerick Rethans <derick@php.net>2003-12-01 19:25:07 +0000
commit74eed61504786f787d8c1d04e15800bae2b2b84e (patch)
treec1649542d22871ba30d54a78263858af775d47cc /main/php_variables.c
parente05fbfa253c3693d9bdf2acd4b3a58557378888e (diff)
downloadphp-git-74eed61504786f787d8c1d04e15800bae2b2b84e.tar.gz
- Fix the default SAPI filter too; all weird problems should be gone again.
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 2769de1875..00222ea687 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -223,7 +223,8 @@ SAPI_API SAPI_POST_HANDLER_FUNC(php_std_post_handler)
SAPI_API SAPI_INPUT_FILTER_FUNC(php_default_input_filter)
{
/* TODO: check .ini setting here and apply user-defined input filter */
- return val_len;
+ *new_val_len = val_len;
+ return 1;
}
SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)