Problem on sending XML-RPC messages

From: Date: Wed, 15 Mar 2006 13:54:55 +0000
Subject: Problem on sending XML-RPC messages
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23305@lists.php.net to get a copy of this message
Hi, I'm using XML_RPC_Client. I noticed that in the class XML_RPC_Message, when the payload is created (whith the function createPayload ), multiple '\r\n' are removed with this line: $this->payload = ereg_replace("[\r\n]+", "\r\n", $this->payload); The problem is that I'm sending a message witch contains a string that represents an email, and inside this string 2 '\r\n' are mandatory. I commented this line and now my code works. In fact the code I'm developping must be installed into several machines, and I think it's not a good idea to patch pear code in each machine. Does someone think this is a bug? Thanks in advance, Antonello

« previous php.pear.general (#23305) next »