diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-07-18 19:18:03 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-07-18 19:18:03 +0000 |
commit | e77c65f08129851bdf5f66c0113be11650a23e2c (patch) | |
tree | 0daf784ef2a0456cc26eb1283b464500f472270f | |
parent | ec58143e93528993905d6d557b24452760e076f6 (diff) | |
download | php-git-e77c65f08129851bdf5f66c0113be11650a23e2c.tar.gz |
Revert cookie patch for BC reasons.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | main/php_variables.c | 3 |
2 files changed, 1 insertions, 3 deletions
@@ -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; } |