From 5da9bc9933ab1a78251e030622739b8bcc17d78f Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 24 Jan 2005 09:53:23 +0000 Subject: [PATCH] Trim before decoding - http://mosquito.wordpress.org/view.php?id=654 git-svn-id: http://svn.automattic.com/wordpress/trunk@2139 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 f7ce36fe7..f73ebc2bb 100644 --- a/wp-includes/class-IXR.php +++ b/wp-includes/class-IXR.php @@ -225,7 +225,7 @@ class IXR_Message { $valueFlag = true; break; case 'base64': - $value = base64_decode($this->_currentTagContents); + $value = base64_decode( trim($this->_currentTagContents) ); $this->_currentTagContents = ''; $valueFlag = true; break;