derick          Mon Dec  1 14:25:08 2003 EDT

  Modified files:              
    /php-src/main       php_variables.c 
  Log:
  - Fix the default SAPI filter too; all weird problems should be gone again.
  
  
Index: php-src/main/php_variables.c
diff -u php-src/main/php_variables.c:1.73 php-src/main/php_variables.c:1.74
--- php-src/main/php_variables.c:1.73   Sat Nov 29 10:24:35 2003
+++ php-src/main/php_variables.c        Mon Dec  1 14:25:07 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php_variables.c,v 1.73 2003/11/29 15:24:35 derick Exp $ */
+/* $Id: php_variables.c,v 1.74 2003/12/01 19:25:07 derick Exp $ */
 
 #include <stdio.h>
 #include "php.h"
@@ -223,7 +223,8 @@
 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)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to