cvs: php4 /ext/mbstring mbstring.c

From: Date: Sat, 07 Sep 2002 09:23:40 +0000
Subject: cvs: php4 /ext/mbstring mbstring.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13887@lists.php.net to get a copy of this message
yohgaki Sat Sep 7 05:23:40 2002 EDT Modified files: /php4/ext/mbstring mbstring.c Log: Fixed trancated value bug when array is used Index: php4/ext/mbstring/mbstring.c diff -u php4/ext/mbstring/mbstring.c:1.95 php4/ext/mbstring/mbstring.c:1.96 --- php4/ext/mbstring/mbstring.c:1.95 Tue Sep 3 05:11:33 2002 +++ php4/ext/mbstring/mbstring.c Sat Sep 7 05:23:39 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mbstring.c,v 1.95 2002/09/03 09:11:33 hirokawa Exp $ */ +/* $Id: mbstring.c,v 1.96 2002/09/07 09:23:39 yohgaki Exp $ */ /* * PHP4 Multibyte String module "mbstring" (currently only for Japanese) @@ -1271,9 +1271,9 @@ strtok_buf = NULL; var = php_strtok_r(res, separator, &strtok_buf); while (var) { + len_list[n] = php_url_decode(var, strlen(var)); val = strchr(var, '='); val_list[n] = var; - len_list[n] = php_url_decode(var, strlen(var)); n++; if (val) { /* have a value */ *val++ = '\0';

« previous php.cvs (#13887) next »