From: Ilia Alshanetsky Date: Mon, 18 Jul 2005 19:18:03 +0000 (+0000) Subject: Revert cookie patch for BC reasons. X-Git-Tag: RELEASE_0_9~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e77c65f08129851bdf5f66c0113be11650a23e2c;p=php Revert cookie patch for BC reasons. --- diff --git a/NEWS b/NEWS index 7dbfdf27ce..1554ab503b 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,6 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2005, PHP 5.1 -- Fixed handling of HTTP requests with multiple Cookie headers. (Ilia) - Fixed bug #33558 (warning with nested calls to functions returning by reference). (Dmitry) diff --git a/main/php_variables.c b/main/php_variables.c index d2336345e7..b468c51df0 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -317,8 +317,7 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data) separator = (char *) estrdup(PG(arg_separator).input); break; case PARSE_COOKIE: - /* The , and space are needed for instances when there are multiple Cookie: headers */ - separator = ";, \0"; + separator = ";\0"; break; }