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

git-svn-id: http://svn.automattic.com/wordpress/trunk@7615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-07 18:30:51 +00:00
parent aeb2b5bf9f
commit 27167db9c3
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