cvs: php4 /main SAPI.c
| From: | Hartmut Holzgraefe | Date: | Mon, 21 Oct 2002 18:44:51 +0000 |
| Subject: | cvs: php4 /main SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15114@lists.php.net to get a copy of this message | ||
hholzgra Mon Oct 21 14:44:51 2002 EDT
Modified files:
/php4/main SAPI.c
Log:
removed bogus paranoid header checking
Index: php4/main/SAPI.c
diff -u php4/main/SAPI.c:1.151 php4/main/SAPI.c:1.152
--- php4/main/SAPI.c:1.151 Mon Oct 21 12:41:06 2002
+++ php4/main/SAPI.c Mon Oct 21 14:44:50 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: SAPI.c,v 1.151 2002/10/21 16:41:06 hholzgra Exp $ */
+/* $Id: SAPI.c,v 1.152 2002/10/21 18:44:50 hholzgra Exp $ */
#include <ctype.h>
#include <sys/stat.h>
@@ -321,12 +321,8 @@
it is up to the webserver to decide whether to allow a method or not
*/
SG(request_info).content_type_dup = NULL;
- if(PG(always_populate_raw_post_data)) {
- if(sapi_module.default_post_reader) {
- sapi_module.default_post_reader(TSRMLS_C);
- }
- } else {
- sapi_module.sapi_error(E_WARNING, "No content-type in %s request",
SG(request_info).request_method);
+ if(sapi_module.default_post_reader) {
+ sapi_module.default_post_reader(TSRMLS_C);
}
}
} else {