Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#23137 closed defect (bug) (duplicate)

xmlrpc wp.uploadFile

Reported by: lyfeway's profile lyfeway Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: XML-RPC Keywords:
Focuses: 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 (2)

#1 @SergeyBiryukov
12 years ago

  • Description modified (diff)
  • Keywords needs-refresh removed

#2 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #20984.

Note: See TracTickets for help on using tickets.