[wp-xmlrpc] wrapping faultstring value with CDATA

Joseph Scott joseph at randomnetworks.com
Mon Apr 7 18:42:10 GMT 2008


On Jan 14, 2008, at 9:51 AM, Joseph Scott wrote:

> On Jan 14, 2008, at 9:23 AM, Joe Cheng wrote:
>
>> Is $this->message XML-escaped today? What happens, for example, if  
>> the error message contains the '&' character--will it be properly  
>> escaped to "&"?
>
> My gut response was going to be yes, but then I tried it.  Turns  
> out the answer is no :-(
>
> I've created a ticket for this issue: http://trac.wordpress.org/ 
> ticket/5666



Following up on this issue, Ryan has committed this change to -trunk  
and the 2.5 branch, so we'll see this in any 2.5.x releases and 2.6.

--
Joseph Scott
joseph at randomnetworks.com
http://joseph.randomnetworks.com/





More information about the wp-xmlrpc mailing list