cvs: php4(PHP_4_3) /main main.c
| From: | Derick Rethans | Date: | Thu, 12 Jun 2003 08:33:45 +0000 |
| Subject: | cvs: php4(PHP_4_3) /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21628@lists.php.net to get a copy of this message | ||
derick Thu Jun 12 04:33:45 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/main main.c
Log:
- HTTP Request Types are case-sensitive
Index: php4/main/main.c
diff -u php4/main/main.c:1.512.2.38 php4/main/main.c:1.512.2.39
--- php4/main/main.c:1.512.2.38 Fri May 30 21:37:43 2003
+++ php4/main/main.c Thu Jun 12 04:33:45 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.512.2.38 2003/05/31 01:37:43 sniper Exp $ */
+/* $Id: main.c,v 1.512.2.39 2003/06/12 08:33:45 derick Exp $ */
/* {{{ includes
*/
@@ -1407,7 +1407,7 @@
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;
}