PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » XML_RPC » Bug #7088

createPayload() function of XML_RPC_Message behaves incorrectly

Details

Submitted2006-03-10 12:34 UTC
Fromkarlson at php dot net
Assigneddanielc
StatusClosed
PackageXML_RPC
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2006-03-10 12:34 UTC] karlson at php dot net

Description:
------------
createPayload function applies the following regular experssion at it's last line
$this->payload = ereg_replace("[\r\n]+", "\r\n", $this->payload);
This expression actually modifies the values of the message, so the message is possibly not the same, as what the user actually created.