Skip to content

delete image faild #1092

@MichaelGottschlich

Description

@MichaelGottschlich

Describe the bug
unable to delete image. The delete request go on wrong url.
I had install bockstack in subdirectory /bookstack and set in .env the app_url on http://x.x.x.x/bookstack/ .
The request going on http://x.x.x.x/images/7 and request should be on http://x.x.x.x/bookstack/images/7 .

Steps To Reproduce
Steps to reproduce the behavior:

  1. install on subdirctory e.g. /bookstack
  2. upload create an book with a page
  3. edit page and upload an image
  4. try to delete image

Expected behavior
On http delete Request you get respone with http status code 405.

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): 0.24.1
  • PHP Version: 7.0.32
  • Hosting Method (Nginx/Apache/Docker): Apache 2.4.18

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions