Zend Framework

Zend_XmlRpc_Value* doesn't handle special chars correctly

Details

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

Activity

Hide
Lars Strojny added a comment -

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

Show
Lars Strojny added a comment - The attached patch fixes the issue and adds a unit test to verify the correct behavior
Hide
Lars Strojny added a comment -

Fixed in r17751

Show
Lars Strojny added a comment - Fixed in r17751
Hide
Satoru Yoshida added a comment -

Set the Fix Version

Show
Satoru Yoshida added a comment - Set the Fix Version

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: