mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed handling of HTTP requests with multiple Cookie headers.
This commit is contained in:
parent
8cea6123e9
commit
75e6dd1c61
2 changed files with 5 additions and 1 deletions
|
@ -317,7 +317,8 @@ SAPI_API SAPI_TREAT_DATA_FUNC(php_default_treat_data)
|
|||
separator = (char *) estrdup(PG(arg_separator).input);
|
||||
break;
|
||||
case PARSE_COOKIE:
|
||||
separator = ";\0";
|
||||
/* The , and space are needed for instances when there are multiple Cookie: headers */
|
||||
separator = ";, \0";
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue