WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 12 days ago

#9149 closed defect (bug) (duplicate)

Unable to PUT a new image file

Reported by: tarmes Owned by: josephscott
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: AtomPub Keywords:
Focuses: Cc:

Description

It's not possible to update an image using a PUT to the edit-media link.

Note that wordpress returns 200 indicating success, even though it fails.

What actually happens is that it retrieves the path to the file relative to the uploads folder but then it doesn't prepend the path to the uploads folder before trying to open the file for writing.

Change History (4)

comment:1 @ryan6 years ago

  • Component changed from General to AtomPub
  • Owner changed from anonymous to josephscott

comment:2 @josephscott6 years ago

Did this get fixed in ticket #9233?

comment:3 @Denis-de-Bernardy6 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

looks like the same bug, yeah.

comment:4 @DrewAPicture12 days ago

  • Milestone 2.7.2 deleted
Note: See TracTickets for help on using tickets.