mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Revert cookie patch for BC reasons.
This commit is contained in:
parent
ec58143e93
commit
e77c65f081
2 changed files with 1 additions and 3 deletions
1
NEWS
1
NEWS
|
@ -1,7 +1,6 @@
|
||||||
PHP NEWS
|
PHP NEWS
|
||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||
?? ??? 2005, PHP 5.1
|
?? ??? 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
|
- Fixed bug #33558 (warning with nested calls to functions returning by
|
||||||
reference). (Dmitry)
|
reference). (Dmitry)
|
||||||
|
|
||||||
|
|
|
@ -317,8 +317,7 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
|
||||||
separator = (char *) estrdup(PG(arg_separator).input);
|
separator = (char *) estrdup(PG(arg_separator).input);
|
||||||
break;
|
break;
|
||||||
case PARSE_COOKIE:
|
case PARSE_COOKIE:
|
||||||
/* The , and space are needed for instances when there are multiple Cookie: headers */
|
separator = ";\0";
|
||||||
separator = ";, \0";
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue