FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17368&edit=1

ID: 17368
Updated by: danielc@analysisandsolutions.com
Reported By: vamos at netikka dot fi
Summary: struct member name serialization/encoding bug
Status: Closed
Type: Bug
Package: XML_RPC
Operating System: Linux
Package Version: 1.5.3
PHP Version: 5.2.6
Assigned To: doconnor
Roadmap Versions:
New Comment:

Version 1.5.4 of this package has just been released and it includes
this fix.


Previous Comments:
------------------------------------------------------------------------

[2010-05-06 14:01:44] varmando

Thanks Daniel!

We have few old in-house applications that are using old XML_RPC.
Translated to English this means that I am just being lazy :)

------------------------------------------------------------------------

[2010-05-05 23:58:54] doconnor

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Thanks for the patch, Kai!

There's a few other places which look like this could occur; but I've
left them alone - if you come across any more problems; let us know.

Out of curiosity, XML_RPC2 is out - is there any reason you haven't
migrated?

------------------------------------------------------------------------

[2010-05-05 11:34:15] varmando

It seems that bug report form doesn't allow literal entities...so let's
try for third time with extra spaces around entities:

Expected result:
----------------
...
<member><name>foo& amp ;bar</name>
<value><string>foo & amp ; bar company</string></value>
...

Actual result:
--------------
...
<member><name>foo&bar</name>
<value><string>foo & amp ; bar company</string></value>
...

------------------------------------------------------------------------

[2010-05-05 11:25:35] varmando

Expected result:
----------------
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>none</methodName>
<params>
<param>
<value><struct>
<member><name>foo&amp;bar</name>
<value><string>foo &amp; bar company</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>

Actual result:
--------------
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>none</methodName>
<params>
<param>
<value><struct>
<member><name>foo&bar</name>
<value><string>foo &amp; bar company</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>

------------------------------------------------------------------------

[2010-05-05 11:22:22] varmando

Added #patch
bug:17368;patch:RPC-member-name-htmlentities.patch;revision:1273058542;.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=17368

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJul 3, '10 at 5:29p
activeJul 3, '10 at 5:29p
posts1
users1
websitepear.php.net

1 user in discussion

Danielc: 1 post

People

Translate

site design / logo © 2022 Grokbase