]> granicus.if.org Git - php/commitdiff
- Fix the default SAPI filter too; all weird problems should be gone again.
authorDerick Rethans <derick@php.net>
Mon, 1 Dec 2003 19:25:07 +0000 (19:25 +0000)
committerDerick Rethans <derick@php.net>
Mon, 1 Dec 2003 19:25:07 +0000 (19:25 +0000)
main/php_variables.c

index 2769de18755332d324befa1feb0e0c241a8dff7e..00222ea687232d686129b1ce1a989fc736387709 100644 (file)
@@ -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)