]> git.mjollnir.org Git - moodle.git/commitdiff
mnet MDL-10935 fix unicode character when the remote site send the course name for...
authorjerome <jerome>
Fri, 6 Feb 2009 00:46:37 +0000 (00:46 +0000)
committerjerome <jerome>
Fri, 6 Feb 2009 00:46:37 +0000 (00:46 +0000)
mnet/xmlrpc/client.php

index c45c1546502e74a06d8b64ff044e1e77beafa9db..819ce05f3d2ed42959c1f76c62d153d2570cd81a 100644 (file)
@@ -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);