From: Derick Rethans Date: Mon, 1 Dec 2003 19:25:07 +0000 (+0000) Subject: - Fix the default SAPI filter too; all weird problems should be gone again. X-Git-Tag: php-5.0.0b3RC1~445 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74eed61504786f787d8c1d04e15800bae2b2b84e;p=php - Fix the default SAPI filter too; all weird problems should be gone again. --- 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)