MFH: - Fixed bug #32111 (Cookies can also be separated by colon)
authorfoobar <sniper@php.net>
Sat, 23 Apr 2005 20:34:15 +0000 (20:34 +0000)
committerfoobar <sniper@php.net>
Sat, 23 Apr 2005 20:34:15 +0000 (20:34 +0000)
NEWS
main/php_variables.c

diff --git a/NEWS b/NEWS
index 21d67e44efee693e5fbc9cd40c6bca016e3600fd..bd520d899e7e2db1771075b2aa313bbd332a1d83 100644 (file)
--- 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).
index cf9d98cc6300161c360e219e6c861e3b7d22c00a..fdc0a65ba37c437719a3c75dc071eb3e8360a7e2 100644 (file)
@@ -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;
        }