cvs: php4 /main main.c

From: Date: Thu, 12 Jun 2003 08:38:58 +0000
Subject: cvs: php4 /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-21629@lists.php.net to get a copy of this message
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; }

« previous php.cvs (#21629) next »