From cc1e3919b9fe640926cb88670e2cc9fb63416148 Mon Sep 17 00:00:00 2001 From: ggiunta Date: Sun, 23 May 2010 13:58:22 +0000 Subject: [PATCH] - changelog update git-svn-id: https://svn.code.sf.net/p/phpxmlrpc/code/trunk/xmlrpc@76 013ecfd8-0664-425d-a759-9c98391dc3f9 --- ChangeLog | 5 +++++ NEWS | 6 ++++++ lib/xmlrpc.inc | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c277284..41f1d40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-05-23 - G. Giunta (giunta.gaetano@gmail.com) + + * xmlrpc.inc: omit port on http 'Host' header if it is 80; + add a namespace declaration in response if ex:nil is in use + 2010-04-12 - G. Giunta (giunta.gaetano@gmail.com) * testsuite.php, parse_args.php: testsuite allows interrogating https servers ignoring their certs diff --git a/NEWS b/NEWS index ab62c1e..266d879 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +XML-RPC for PHP version 3.0.0 - 2010/xx/yy + +This release corrects all bugs that have been reported and sucesfully reproduced since +version 3.0.0 beta + XML-RPC for PHP version 3.0.0 beta - 2009/09/05 This is the first release of the library to only support PHP 5. @@ -28,6 +33,7 @@ version 2.2.1. Regardless of the intimidating message about dropping PHP 4 support, it still does support that ancient, broken and insecure platform. + * fixed: php warning when receiving 'false' in a bool value * fixed: improve robustness of the debugger when parsing weird results from non-compliant servers * fixed: format floating point values using the correct decimal separator even when php locale is set to one that uses comma diff --git a/lib/xmlrpc.inc b/lib/xmlrpc.inc index 5deade3..79dbafb 100644 --- a/lib/xmlrpc.inc +++ b/lib/xmlrpc.inc @@ -1350,7 +1350,7 @@ } // omit port if 80 - $port = ($port == '80') ? '' : (':' . $port); + $port = ($port == 80) ? '' : (':' . $port); $op= 'POST ' . $uri. " HTTP/1.0\r\n" . 'User-Agent: ' . $this->user_agent . "\r\n" . -- 2.43.0