dmitry Fri Aug 12 09:27:38 2005 EDT
Modified files:
/php-src/main php_variables.c
Log:
Fixed incorrect variable parsing in non-unicode mode
http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.106&r2=1.107&ty=u
Index: php-src/main/php_variables.c
diff -u php-src/main/php_variables.c:1.106 php-src/main/php_variables.c:1.107
--- php-src/main/php_variables.c:1.106 Thu Aug 11 19:36:05 2005
+++ php-src/main/php_variables.c Fri Aug 12 09:27:38 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_variables.c,v 1.106 2005/08/11 23:36:05 andrei Exp $ */
+/* $Id: php_variables.c,v 1.107 2005/08/12 13:27:38 dmitry Exp $ */
#include <stdio.h>
#include "php.h"
@@ -581,7 +581,6 @@
int val_len;
unsigned int new_val_len;
- *val++ = '\0';
val_len = php_url_decode(val, strlen(val));
val = estrndup(val, val_len);
if (sapi_module.input_filter(arg, var, &val,
val_len, &new_val_len TSRMLS_CC)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php