diff --git a/NEWS b/NEWS index 7dbfdf27ce3..1554ab503b9 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 d2336345e71..b468c51df04 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; }