mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix GHSA-4w77-75f9-2c8w
This commit is contained in:
parent
f3ade203d7
commit
f18d429b20
2 changed files with 43 additions and 0 deletions
|
@ -1944,6 +1944,8 @@ static void php_cli_server_client_populate_request_info(const php_cli_server_cli
|
|||
request_info->auth_user = request_info->auth_password = request_info->auth_digest = NULL;
|
||||
if (NULL != (val = zend_hash_str_find(&client->request.headers, "content-type", sizeof("content-type")-1))) {
|
||||
request_info->content_type = Z_STRVAL_P(val);
|
||||
} else {
|
||||
request_info->content_type = NULL;
|
||||
}
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue