WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9149 closed defect (bug) (duplicate)

Unable to PUT a new image file

Reported by: tarmes Owned by: josephscott
Milestone: 2.7.2 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 (3)

comment:1 ryan5 years ago

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

comment:2 josephscott5 years ago

Did this get fixed in ticket #9233?

comment:3 Denis-de-Bernardy5 years ago

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

looks like the same bug, yeah.

Note: See TracTickets for help on using tickets.