summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}