Issue deleting subfolder named '0' causes browser freeze and deletes parent folder #171

Closed
opened 2026-04-05 20:25:38 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @PrestaBiz on 10/27/2024

CloudPanel version(s) affected

2.4.2

Description

When a folder is created with a subfolder named '0' (zero), attempting to delete the '0' subfolder causes the browser to freeze and unexpectedly removes the parent folder containing it. This issue is critical for the PrestaShop platform, as it relies on creating subfolders named '0' to store images, which risks unintended data loss.

How to reproduce

Open FileManager
Create a new folder
Inside this folder, create a subfolder named '0'
Attempt to delete the subfolder '0'

Possible Solution

No response

Additional Context

No response

*Originally created by @PrestaBiz on 10/27/2024* ### CloudPanel version(s) affected 2.4.2 ### Description When a folder is created with a subfolder named '0' (zero), attempting to delete the '0' subfolder causes the browser to freeze and unexpectedly removes the parent folder containing it. This issue is critical for the PrestaShop platform, as it relies on creating subfolders named '0' to store images, which risks unintended data loss. ### How to reproduce Open FileManager Create a new folder Inside this folder, create a subfolder named '0' Attempt to delete the subfolder '0' ### Possible Solution _No response_ ### Additional Context _No response_
MrUnknownDE added the bughelp wantedbugbugbugbugbugbugbugbugbugbugbug labels 2026-04-05 20:25:39 +02:00
Sign in to join this conversation.