mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Issue deleting subfolder named '0' causes browser freeze and deletes parent folder #171
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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