summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-04-23 20:34:15 +0000
committerfoobar <sniper@php.net>2005-04-23 20:34:15 +0000
commit95c6aa35c7d84293919ccf3bbfbe459031a7c97c (patch)
tree52472eb8452f7d0e9ec6d80b515910a0d3ffa176
parent362db6cec6a45fb756774837f6b86200f69421d7 (diff)
downloadphp-git-95c6aa35c7d84293919ccf3bbfbe459031a7c97c.tar.gz
MFH: - Fixed bug #32111 (Cookies can also be separated by colon)
-rw-r--r--NEWS1
-rw-r--r--main/php_variables.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 21d67e44ef..bd520d899e 100644
--- a/NEWS
+++ b/NEWS
@@ -27,6 +27,7 @@ PHP 4 NEWS
(Uwe Schindler)
- Fixed bug #32311 (mb_encode_mimeheader() does not properly escape characters).
(Moriyoshi)
+- Fixed bug #32111 (Cookies can also be separated by colon). (Jani)
- Fixed bug #31887 (ISAPI: Custom 5xx error does not return correct HTTP
response message). (Jani)
- Fixed bug #31583 (php_std_date() uses short day names in non-y2k_compliance mode).
diff --git a/main/php_variables.c b/main/php_variables.c
index cf9d98cc63..fdc0a65ba3 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -290,7 +290,7 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
separator = (char *) estrdup(PG(arg_separator).input);
break;
case PARSE_COOKIE:
- separator = ";\0";
+ separator = ";,\0"; /* Cookies can be separated with , or ; */
break;
}