Bug fixes and code beautification

* Fixed password masking when the message has more than one password
* Reading php://input in a separate line, for later debugging purposes
This commit is contained in:
Polonkai Gergely
2012-02-28 13:00:45 +01:00
parent 31c6abc039
commit 45f439ba68
2 changed files with 6 additions and 2 deletions

View File

@@ -47,7 +47,8 @@ class jsonRPCServer {
}
// reads the input data
$request = json_decode(file_get_contents('php://input'),true);
$request_string = file_get_contents('php://input');
$request = json_decode($request_string,true);
// executes the task on local object
try {