cvs: pear /XML_RPC Server.php package.xml package2.xml

From: Date: Wed, 21 Jun 2006 12:17:28 +0000
Subject: cvs: pear /XML_RPC Server.php package.xml package2.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-40852@lists.php.net to get a copy of this message
danielc Wed Jun 21 12:17:28 2006 UTC Modified files: /pear/XML_RPC Server.php package.xml package2.xml Log: * If PHP's mbstring extension is enabled, use mb_convert_encoding() to ensure the server payload matches the intended encoding. http://cvs.php.net/viewvc.cgi/pear/XML_RPC/Server.php?r1=1.35&r2=1.36&diff_format=u Index: pear/XML_RPC/Server.php diff -u pear/XML_RPC/Server.php:1.35 pear/XML_RPC/Server.php:1.36 --- pear/XML_RPC/Server.php:1.35 Sun Jun 11 00:25:17 2006 +++ pear/XML_RPC/Server.php Wed Jun 21 12:17:27 2006 @@ -32,7 +32,7 @@ * @author Martin Jansen <mj@php.net> * @author Daniel Convissor <danielc@php.net> * @copyright 1999-2001 Edd Dumbill, 2001-2006 The PHP Group - * @version CVS: $Id: Server.php,v 1.35 2006/06/11 00:25:17 danielc Exp $ + * @version CVS: $Id: Server.php,v 1.36 2006/06/21 12:17:27 danielc Exp $ * @link http://pear.php.net/package/XML_RPC */ @@ -426,6 +426,10 @@ . $this->encoding . '"?>' . "\n" . $this->serializeDebug() . $r->serialize(); + if (function_exists('mb_convert_encoding')) { + $this->server_payload = mb_convert_encoding($this->server_payload, + $this->encoding); + } } /** http://cvs.php.net/viewvc.cgi/pear/XML_RPC/package.xml?r1=1.77&r2=1.78&diff_format=u Index: pear/XML_RPC/package.xml diff -u pear/XML_RPC/package.xml:1.77 pear/XML_RPC/package.xml:1.78 --- pear/XML_RPC/package.xml:1.77 Fri Jun 16 16:00:54 2006 +++ pear/XML_RPC/package.xml Wed Jun 21 12:17:27 2006 @@ -2,7 +2,7 @@ <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> <package version="1.0"> - <!-- $Id: package.xml,v 1.77 2006/06/16 16:00:54 danielc Exp $ --> + <!-- $Id: package.xml,v 1.78 2006/06/21 12:17:27 danielc Exp $ --> <name>XML_RPC</name> <summary>PHP implementation of the XML-RPC protocol</summary> @@ -29,13 +29,13 @@ </maintainers> <release> - <version>1.5.0RC1</version> - <date>2006-06-16</date> + <version>1.5.0RC2</version> + <date>2006-06-21</date> + <!-- happy solstice --> + <state>beta</state> <notes><![CDATA[ -* Provide complete multi-byte string support for systems with the mbstring extension enabled. Bug 7837. -* If PHP's mbstring extension is enabled, use mb_convert_encoding() to ensure the payload matches the intended encoding. This is a better resolution of Bug 7376. -* Turn off the default of automatically base64 encoding strings that can generate fatal errors in PHP's SAX parser. The automatic base64 encoding can be turned on via the new XML_RPC_Client::setAutoBase64() method. The auto-encoding is a workaround for systems that don't have PHP's mbstring extension available. (The automatic base64 encoding was added in the prior release, 1.4.8, and caused problems for users who don't control the receiving end of the requests.) Bug 7837. +* If PHP's mbstring extension is enabled, use mb_convert_encoding() to ensure the server payload matches the intended encoding. ]]></notes> <filelist> @@ -80,6 +80,17 @@ <changelog> <release> + <version>1.5.0RC1</version> + <date>2006-06-16</date> + <state>beta</state> + <notes><![CDATA[ +* Provide complete multi-byte string support for systems with the mbstring extension enabled. Bug 7837. +* If PHP's mbstring extension is enabled, use mb_convert_encoding() to ensure the client payload matches the intended encoding. This is a better resolution of Bug 7376. +* Turn off the default of automatically base64 encoding strings that can generate fatal errors in PHP's SAX parser. The automatic base64 encoding can be turned on via the new XML_RPC_Client::setAutoBase64() method. The auto-encoding is a workaround for systems that don't have PHP's mbstring extension available. (The automatic base64 encoding was added in the prior release, 1.4.8, and caused problems for users who don't control the receiving end of the requests.) Bug 7837. + ]]></notes> + </release> + + <release> <version>1.4.8</version> <date>2006-04-16</date> <state>stable</state> http://cvs.php.net/viewvc.cgi/pear/XML_RPC/package2.xml?r1=1.41&r2=1.42&diff_format=u Index: pear/XML_RPC/package2.xml diff -u pear/XML_RPC/package2.xml:1.41 pear/XML_RPC/package2.xml:1.42 --- pear/XML_RPC/package2.xml:1.41 Fri Jun 16 16:00:54 2006 +++ pear/XML_RPC/package2.xml Wed Jun 21 12:17:27 2006 @@ -8,7 +8,7 @@ http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> - <!-- $Id: package2.xml,v 1.41 2006/06/16 16:00:54 danielc Exp $ --> + <!-- $Id: package2.xml,v 1.42 2006/06/21 12:17:27 danielc Exp $ --> <name>XML_RPC</name> <channel>pear.php.net</channel> @@ -32,10 +32,11 @@ <active>yes</active> </lead> - <date>2006-06-16</date> + <date>2006-06-21</date> + <!-- happy solstice --> <version> - <release>1.5.0RC1</release> + <release>1.5.0RC2</release> <api>1.5.0</api> </version> <stability> @@ -45,9 +46,7 @@ <license uri="http://www.php.net/license/3_01.txt">PHP License</license> <notes><![CDATA[ -* Provide complete multi-byte string support for systems with the mbstring extension enabled. Bug 7837. -* If PHP's mbstring extension is enabled, use mb_convert_encoding() to ensure the payload matches the intended encoding. This is a better resolution of Bug 7376. -* Turn off the default of automatically base64 encoding strings that can generate fatal errors in PHP's SAX parser. The automatic base64 encoding can be turned on via the new XML_RPC_Client::setAutoBase64() method. The auto-encoding is a workaround for systems that don't have PHP's mbstring extension available. (The automatic base64 encoding was added in the prior release, 1.4.8, and caused problems for users who don't control the receiving end of the requests.) Bug 7837. +* If PHP's mbstring extension is enabled, use mb_convert_encoding() to ensure the server payload matches the intended encoding. ]]></notes> <contents> @@ -116,6 +115,24 @@ <release> <version> + <release>1.5.0RC1</release> + <api>1.5.0</api> + </version> + <stability> + <release>beta</release> + <api>beta</api> + </stability> + <date>2006-06-16</date> + <license uri="http://www.php.net/license/3_01.txt">PHP License</license> + <notes><![CDATA[ +* Provide complete multi-byte string support for systems with the mbstring extension enabled. Bug 7837. +* If PHP's mbstring extension is enabled, use mb_convert_encoding() to ensure the client payload matches the intended encoding. This is a better resolution of Bug 7376. +* Turn off the default of automatically base64 encoding strings that can generate fatal errors in PHP's SAX parser. The automatic base64 encoding can be turned on via the new XML_RPC_Client::setAutoBase64() method. The auto-encoding is a workaround for systems that don't have PHP's mbstring extension available. (The automatic base64 encoding was added in the prior release, 1.4.8, and caused problems for users who don't control the receiving end of the requests.) Bug 7837. + ]]></notes> + </release> + + <release> + <version> <release>1.4.8</release> <api>1.4.6</api> </version>

« previous php.pear.cvs (#40852) next »