From 65055e09678a7050550357cd77496cf9ae3ce4f1 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg 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: https://develop.svn.wordpress.org/trunk@2139 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 f7ce36fe7f..f73ebc2bbf 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;