From: jerome Date: Fri, 6 Feb 2009 00:46:37 +0000 (+0000) Subject: mnet MDL-10935 fix unicode character when the remote site send the course name for... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=88d9e9d90e4dbe5b6e31be9afae048b65d0cf3c6;p=moodle.git mnet MDL-10935 fix unicode character when the remote site send the course name for updating enrolment, merged from 19 --- diff --git a/mnet/xmlrpc/client.php b/mnet/xmlrpc/client.php index c45c154650..819ce05f3d 100644 --- a/mnet/xmlrpc/client.php +++ b/mnet/xmlrpc/client.php @@ -129,7 +129,7 @@ class mnet_xmlrpc_client { return false; } - $this->requesttext = xmlrpc_encode_request($this->method, $this->params, array("encoding" => "utf-8")); + $this->requesttext = xmlrpc_encode_request($this->method, $this->params, array("encoding" => "utf-8", "escaping" => "markup")); $this->signedrequest = mnet_sign_message($this->requesttext); $this->encryptedrequest = mnet_encrypt_message($this->signedrequest, $mnet_peer->public_key);