[wp-trac] [WordPress Trac] #20984: XMLRPC: wp.uploadFile missing base64_decode

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 15 22:15:13 UTC 2012


#20984: XMLRPC: wp.uploadFile missing base64_decode
--------------------------+------------------------------
 Reporter:  fishc4ke      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  XML-RPC       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by maxcutler):

 * cc: maxcutler (added)


Comment:

 I am unable to reproduce this, can you please provide more details?

 `$bits` is actually binary data by that point, since `IXR_Message` will
 call `base64_decode` before `mw_newMediaObject` (`wp.uploadFile`) is ever
 called. See L303 of wp-includes/class-IXR.php.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20984#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list