mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
- MFB: HTTP Request Methods are case sensitive
#- This was surrounded by an #ifdef, but I thought I fixed it too.
This commit is contained in:
parent
6e2285dded
commit
5b1f7be3eb
@ -1497,7 +1497,7 @@ static zend_bool php_auto_globals_create_post(TSRMLS_D)
|
||||
if (PG(activated_auto_globals)[TRACK_VARS_POST]) {
|
||||
return 0;
|
||||
}
|
||||
if (!SG(headers_sent) && SG(request_info).request_method && !strcasecmp(SG(request_info).request_method, "POST")) {
|
||||
if (!SG(headers_sent) && SG(request_info).request_method && !strcmp(SG(request_info).request_method, "POST")) {
|
||||
sapi_module.treat_data(PARSE_POST, NULL, NULL TSRMLS_CC); /* POST Data */
|
||||
_gpc_flags[0]=1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user