From 27167db9c353ba8d8c45b4506acf2dca63c7b594 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 7 Apr 2008 18:30:51 +0000 Subject: [PATCH] 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 --- wp-includes/class-IXR.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-IXR.php b/wp-includes/class-IXR.php index e325ae558..bef0c058a 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -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 = <<