derick Thu Jun 12 04:38:58 2003 EDT Modified files: /php4/main main.c Log: - MFB: HTTP Request Methods are case sensitive #- This was surrounded by an #ifdef, but I thought I fixed it too. Index: php4/main/main.c diff -u php4/main/main.c:1.557 php4/main/main.c:1.558 --- php4/main/main.c:1.557 Tue Jun 10 16:03:41 2003 +++ php4/main/main.c Thu Jun 12 04:38:58 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.557 2003/06/10 20:03:41 imajes Exp $ */ +/* $Id: main.c,v 1.558 2003/06/12 08:38:58 derick Exp $ */ /* {{{ includes */ @@ -1497,7 +1497,7 @@ 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; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php