From d042cecbd95b5729a6cc8e7d45a1183b308b794a Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 12 Jun 2003 08:33:45 +0000 Subject: [PATCH] - HTTP Request Types are case-sensitive --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 27484151c9..6f9df74e8c 100644 --- a/main/main.c +++ b/main/main.c @@ -1407,7 +1407,7 @@ static int php_hash_environment(TSRMLS_D) switch(*p) { case 'p': case 'P': - if (!_gpc_flags[0] && !SG(headers_sent) && SG(request_info).request_method && !strcasecmp(SG(request_info).request_method, "POST")) { + if (!_gpc_flags[0] && !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; } -- 2.50.1