From 33520df2b62514239bf39a77948773a26ee21853 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 7 Apr 2008 18:30:51 +0000 Subject: [PATCH] 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 --- 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 e325ae5582..bef0c058aa 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 = <<