Changeset 2139

Show
Ignore:
Timestamp:
01/24/05 09:53:23 (4 years ago)
Author:
saxmatt
Message:

Trim before decoding - http://mosquito.wordpress.org/view.php?id=654

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/class-IXR.php

    r2103 r2139  
    226226                break; 
    227227            case 'base64': 
    228                 $value = base64_decode($this->_currentTagContents); 
     228                $value = base64_decode( trim($this->_currentTagContents) ); 
    229229                $this->_currentTagContents = ''; 
    230230                $valueFlag = true;