nitpicks
authorgggeek <giunta.gaetano@gmail.com>
Tue, 5 Jan 2021 16:37:45 +0000 (16:37 +0000)
committergggeek <giunta.gaetano@gmail.com>
Tue, 5 Jan 2021 16:37:45 +0000 (16:37 +0000)
NEWS
demo/server/proxy.php
demo/server/server.php
doc/ChangeLog
doc/manual/phpxmlrpc_manual.adoc
src/Client.php

diff --git a/NEWS b/NEWS
index c48d643..f3caf81 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,7 @@ XML-RPC for PHP version 4.5.2 - unreleased
 
 * improved: allow usage of 'epivals' for the 'parameters_type' member of methods definitions in the Server dispatch map
 
-* improved: debugger page title when used from the phpjsonrpc library
+* improved: debugger favicon and page title when used from the phpjsonrpc library
 
 
 XML-RPC for PHP version 4.5.1 - 2021/1/3
index 978a235..a0a0f1d 100644 (file)
@@ -60,7 +60,7 @@ function forward_request($req)
     /// @todo find a way to forward client info (such as IP) to server, either
     ///       - as xml comments in the payload, or
     ///       - using std http header conventions, such as X-forwarded-for...
-    $reqMethod = $encoder->decode($req->getParam(1));
+    $reqMethod = $req->getParam(1)->scalarval();
     $pars = $req->getParam(2);
     $req = new PhpXmlRpc\Request($reqMethod);
     foreach ($pars as $par) {
index 7e49521..4ab3be5 100644 (file)
@@ -84,7 +84,7 @@ $signatures = array_merge($signatures, $signatures1, $signatures2, $signatures3,
 PhpXmlRpc::$xmlrpc_null_extension = true;
 
 $s = new Server($signatures, false);
-$s->setdebug(3);
+$s->setDebug(3);
 $s->compress_response = true;
 
 // Out-of-band information: let the client manipulate the server operations.
index 3db05c3..afb9b81 100644 (file)
@@ -965,7 +965,7 @@ This file will not be updated further.
 
        * xmlrpc.inc: fixed php_xmlrpc_encode detection of php arrays (again!);
        removed from wrap_php_function the part about setting a custom error handler
-       (it can be activated using the more general $server->setdebug(3) anyway)
+       (it can be activated using the more general $server->setDebug(3) anyway)
 
        * xmlrpcs.inc: added to server the capability to trap all processing errors
        during execution of user functions and add them to debug info inside responses;
index 923d636..97f5ccd 100644 (file)
@@ -1678,7 +1678,7 @@ The most likely cause is that you are not using the correct URL
 
 To find out what the server is really returning to your client,
       you have to enable the debug mode of the client, using
-      $client->setdebug(1);
+      $client->setDebug(1);
 
 
 ==== How can I save to a file the xml of the xmlrpc responses received from servers?
index e29ba20..2f6444a 100644 (file)
@@ -91,7 +91,7 @@ class Client
      * It defaults to NULL, which means using US-ASCII and encoding all characters outside of the ASCII range using
      * their xml character entity representation (this has the benefit that line end characters will not be mangled in
      * the transfer, a CR-LF will be preserved as well as a singe LF).
-     *  Valid values are 'US-ASCII', 'UTF-8' and 'ISO-8859-1'
+     * Valid values are 'US-ASCII', 'UTF-8' and 'ISO-8859-1'
      */
     public $request_charset_encoding = '';