Issues

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

Issue Type: Bug Created: 2009-08-19T15:26:59.000+0000 Last Updated: 2009-08-26T07:00:42.000+0000 Status: Resolved Fix version(s): - 1.9.2 (25/Aug/09)

Reporter: Lars Strojny (lars) Assignee: Lars Strojny (lars) Tags: - Zend_XmlRpc_Client

  • Zend_XmlRpc_Server

Related issues: Attachments: - xmlrpc-entities-struct.diff

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

Posted by Lars Strojny (lars) on 2009-08-19T15:28:25.000+0000

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

Posted by Lars Strojny (lars) on 2009-08-22T08:16:28.000+0000

Fixed in r17751

Posted by Satoru Yoshida (satoruyoshida) on 2009-08-26T07:00:41.000+0000

Set the Fix Version

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts