summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-06-12 08:38:58 +0000
committerDerick Rethans <derick@php.net>2003-06-12 08:38:58 +0000
commit5b1f7be3eb7bca9262681669540fcbd472935cfe (patch)
tree557d58af78a3b365f9b72dcd6515164dba6d5830
parent6e2285dded89ad757c5687815f97ce8ebaadb7a6 (diff)
downloadphp-git-5b1f7be3eb7bca9262681669540fcbd472935cfe.tar.gz
- MFB: HTTP Request Methods are case sensitive
#- This was surrounded by an #ifdef, but I thought I fixed it too.
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index e5ff728485..68cbffa353 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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;
}