Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Deletion of an image removes a directory tree #568

Open
Marco-Jacobs opened this issue Jan 26, 2020 · 0 comments
Open

Deletion of an image removes a directory tree #568

Marco-Jacobs opened this issue Jan 26, 2020 · 0 comments

Comments

@Marco-Jacobs
Copy link

Bug report

Steps to reproduce

  1. create a directory structure like "/test1/? test2/test3/"
  2. put an image in test3
  3. switch to gallery view and navigate to the image
  4. open the image and delete it

Expected behaviour

the image should be deleted

Actual behaviour

The directory test1 gets deleted.
It seems that the directory in wich the one with the question mark is gets deleted.
Maybe an SQL injection or similar?

Server configuration

Operating system: Ubuntu Server 18.04
Web server: Apache
Database: MySQL
PHP version: 7.3

Nextcloud configuration

Nextcloud version: 17.0.2
Updated from an older installation or fresh install: updated but happened in older versions too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant