mnet MDL-10935 fix unicode character when the remote site send the course name for updating enrolment, merged from 19

This commit is contained in:
jerome
2009-02-06 00:40:50 +00:00
parent b000fba3c1
commit 143432338d
+1 -1
View File
@@ -173,7 +173,7 @@ class mnet_xmlrpc_client {
}
}
$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"));
$rq = $this->requesttext;
$rq = mnet_sign_message($this->requesttext);
$this->signedrequest = $rq;