cvs: php-src(PHP_4_4) /main php_variables.c

From: Date: Mon, 18 Jul 2005 04:04:43 +0000
Subject: cvs: php-src(PHP_4_4) /main php_variables.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-32953@lists.php.net to get a copy of this message
iliaa Mon Jul 18 00:04:43 2005 EDT Modified files: (Branch: PHP_4_4) /php-src/main php_variables.c Log: MFH: Fixed handling of HTTP requests with multiple Cookie headers. http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.45.2.13&r2=1.45.2.13.2.1&ty=u Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.45.2.13 php-src/main/php_variables.c:1.45.2.13.2.1 --- php-src/main/php_variables.c:1.45.2.13 Tue May 17 14:42:35 2005 +++ php-src/main/php_variables.c Mon Jul 18 00:04:43 2005 @@ -16,7 +16,7 @@ | Zeev Suraski <zeev@zend.com> | +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.45.2.13 2005/05/17 18:42:35 iliaa Exp $ */ +/* $Id: php_variables.c,v 1.45.2.13.2.1 2005/07/18 04:04:43 iliaa Exp $ */ #include <stdio.h> #include "php.h" @@ -304,7 +304,8 @@ separator = (char *) estrdup(PG(arg_separator).input); break; case PARSE_COOKIE: - separator = ";\0"; + /* The , and space are needed for instances when there are multiple Cookie: headers */ + separator = ";, \0"; break; }

« previous php.cvs (#32953) next »