[wp-trac] Re: [WordPress Trac] #679: Uploading a file with metaweblog protocol xmlrpc leads to corrupted image uploaded

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 3 07:22:24 GMT 2006


#679: Uploading a file with metaweblog protocol xmlrpc leads to corrupted image
uploaded
-----------------------------+----------------------------------------------
 Reporter:  anonymousbugger  |        Owner:  matt    
     Type:  defect           |       Status:  reopened
 Priority:  normal           |    Milestone:          
Component:  XML-RPC          |      Version:  2.0.4   
 Severity:  major            |   Resolution:          
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by pzi):

  * resolution:  fixed =>
  * version:  1.2.2 => 2.0.4
  * status:  closed => reopened

Comment:

 Version 2.0.4 also does not decode the uploaded file. The following fix
 works:

 xmlrpc.php line 845:

 $bits = base64_decode(trim($data['bits']));

-- 
Ticket URL: <http://trac.wordpress.org/ticket/679>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list