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'
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