Escape faultString in IXR. Props josephscott. fixes #5666 for 2.5

git-svn-id: http://svn.automattic.com/wordpress/branches/2.5@7616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-07 18:32:17 +00:00
parent 092da00763
commit 9c0dc30258
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ class IXR_Error {
var $message;
function IXR_Error($code, $message) {
$this->code = $code;
$this->message = $message;
$this->message = htmlspecialchars($message);
}
function getXml() {
$xml = <<<EOD