Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Fix Version/s: 1.9.2
-
Component/s: Zend_XmlRpc_Client, Zend_XmlRpc_Server
-
Labels:None
Description
Two issues with Zend_XmlRpc_Value:
- Zend_XmlRpc_Value_String uses htmlentities() instead of htmlspecialchars() to encode entities resulting in undefined (as in "undefined in XML") entities like ä
- Zend_XmlRpc_Value_Struct doesn't encode it's keys at all
The attached patch fixes the issue and adds a unit test to verify the correct behavior