summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--main/php_variables.c3
2 files changed, 1 insertions, 3 deletions
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;
}