rasmus Wed Feb 19 15:56:48 2003 EDT Modified files: /php4/ext/mbstring mb_gpc.c mb_gpc.h Log: Fix mbstring input_filter Index: php4/ext/mbstring/mb_gpc.c diff -u php4/ext/mbstring/mb_gpc.c:1.4 php4/ext/mbstring/mb_gpc.c:1.5 --- php4/ext/mbstring/mb_gpc.c:1.4 Wed Feb 19 14:41:07 2003 +++ php4/ext/mbstring/mb_gpc.c Wed Feb 19 15:56:47 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mb_gpc.c,v 1.4 2003/02/19 19:41:07 rasmus Exp $ */ +/* $Id: mb_gpc.c,v 1.5 2003/02/19 20:56:47 rasmus Exp $ */ /* {{{ includes */ #ifdef HAVE_CONFIG_H @@ -379,7 +379,7 @@ { MBSTRG(http_input_identify_post) = mbfl_no_encoding_invalid; - _php_mb_encoding_handler_ex(arg, SG(request_info).post_data, "&", 0, 0 TSRMLS_CC); + _php_mb_encoding_handler_ex(PARSE_POST, arg, SG(request_info).post_data, "&", +0, 0 TSRMLS_CC); if (MBSTRG(http_input_identify) != mbfl_no_encoding_invalid) { MBSTRG(http_input_identify_post) = MBSTRG(http_input_identify); Index: php4/ext/mbstring/mb_gpc.h diff -u php4/ext/mbstring/mb_gpc.h:1.1 php4/ext/mbstring/mb_gpc.h:1.2 --- php4/ext/mbstring/mb_gpc.h:1.1 Sat Nov 23 15:08:44 2002 +++ php4/ext/mbstring/mb_gpc.h Wed Feb 19 15:56:47 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mb_gpc.h,v 1.1 2002/11/23 20:08:44 moriyoshi Exp $ */ +/* $Id: mb_gpc.h,v 1.2 2003/02/19 20:56:47 rasmus Exp $ */ /* {{{ includes */ #ifdef HAVE_CONFIG_H @@ -33,7 +33,7 @@ MBSTRING_API SAPI_TREAT_DATA_FUNC(mbstr_treat_data); int _php_mb_enable_encoding_translation(int flag); -int _php_mb_encoding_handler_ex(zval *arg, char *res, char *separator, int force_register_globals, int report_errors TSRMLS_DC); +int _php_mb_encoding_handler_ex(int data_type, zval *arg, char *res, char *separator, +int force_register_globals, int report_errors TSRMLS_DC); /* }}} */ #endif /* HAVE_MBSTRING */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php