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

git-svn-id: https://develop.svn.wordpress.org/trunk@7615 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-04-07 18:30:51 +00:00
parent 373fab4080
commit 33520df2b6

View File

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