ZF-7639: Zend_XmlRpc_Value* doesn't handle special chars correctly

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

Comments

The attached patch fixes the issue and adds a unit test to verify the correct behavior

Fixed in r17751

Set the Fix Version