Skip to content

Commit e77c65f

Browse files
author
Ilia Alshanetsky
committed
Revert cookie patch for BC reasons.
1 parent ec58143 commit e77c65f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

NEWS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2005, PHP 5.1
4-
- Fixed handling of HTTP requests with multiple Cookie headers. (Ilia)
54
- Fixed bug #33558 (warning with nested calls to functions returning by
65
reference). (Dmitry)
76

main/php_variables.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,7 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
317317
separator = (char *) estrdup(PG(arg_separator).input);
318318
break;
319319
case PARSE_COOKIE:
320-
/* The , and space are needed for instances when there are multiple Cookie: headers */
321-
separator = ";, \0";
320+
separator = ";\0";
322321
break;
323322
}
324323

0 commit comments

Comments
 (0)