From 74eed61504786f787d8c1d04e15800bae2b2b84e Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 1 Dec 2003 19:25:07 +0000 Subject: [PATCH] - Fix the default SAPI filter too; all weird problems should be gone again. --- main/php_variables.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.40.0