Revert cookie patch for BC reasons.

This commit is contained in:
Ilia Alshanetsky 2005-07-18 19:18:03 +00:00
parent ec58143e93
commit e77c65f081
2 changed files with 1 additions and 3 deletions

1
NEWS
View file

@ -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)

View file

@ -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;
}