]> git.mjollnir.org Git - moodle.git/commitdiff
mnet MDL-17169 trim the raw xmlrpc response before passing it to the xml parser
authorPenny Leach <penny@liip.ch>
Mon, 11 Jan 2010 01:02:43 +0000 (01:02 +0000)
committerPenny Leach <penny@liip.ch>
Mon, 11 Jan 2010 01:02:43 +0000 (01:02 +0000)
merged from MOODLE_19_STABLE

mnet/xmlrpc/client.php

index 874aae2285511faac6b506095084f92b377eea01..81918d0aaf8b19ba448da6b0aebd3f4ac43eddad 100644 (file)
@@ -146,6 +146,8 @@ class mnet_xmlrpc_client {
         }
         curl_close($httprequest);
 
+        $this->rawresponse = trim($this->rawresponse);
+
         $mnet_peer->touch();
 
         $crypt_parser = new mnet_encxml_parser();