Opened 5 months ago

Last modified 5 months ago

#23137 closed defect (bug)

xmlrpc wp.uploadFile — at Version 1

Reported by: lyfeway Owned by:
Priority: normal Milestone:
Component: XML-RPC Version: 3.5
Severity: normal Keywords:
Cc:

Description (last modified by SergeyBiryukov)

version: 3.5
File: wp-include/functions.php
Line: 1718
code: @fwrite( $ifp, $bits );
====================
if use xmlrpc to upload image, $bits is a encoded by base64.
right code: @fwrite( $ifp, base64_decode( $bits ) );

Change History (1)

  • Description modified (diff)
  • Keywords needs-refresh removed
Note: See TracTickets for help on using tickets.