cvs: pearweb /public_html xmlrpc.php
| From: | Thomas V.V.Cox | Date: | Sun, 23 Dec 2001 18:15:26 +0000 |
| Subject: | cvs: pearweb /public_html xmlrpc.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1676@lists.php.net to get a copy of this message | ||
cox Sun Dec 23 13:15:26 2001 EDT
Modified files:
/pearweb/public_html xmlrpc.php
Log:
die on no request
Index: pearweb/public_html/xmlrpc.php
diff -u pearweb/public_html/xmlrpc.php:1.9 pearweb/public_html/xmlrpc.php:1.10
--- pearweb/public_html/xmlrpc.php:1.9 Mon Oct 22 15:31:26 2001
+++ pearweb/public_html/xmlrpc.php Sun Dec 23 13:15:26 2001
@@ -1,5 +1,8 @@
<?php // -*- C++ -*-
+if (!isset($HTTP_RAW_POST_DATA)) {
+ die('invalid XML RPC request');
+}
require_once "xmlrpc-methods.php";
$xs = xmlrpc_server_create();
pear_register_xmlrpc_methods($xs);