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

Deletion of an image removes a directory tree #568

@Marco-Jacobs

Description

@Marco-Jacobs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions