Cannot rename files in file manager
Closed this issue · 3 comments
gabirosca commented
CloudPanel version(s) affected
2.4.1
Description
Cannot rename files that have spaces in it in file manager
How to reproduce
upload a file that has spaces in it and try rename it in file manager.
Possible Solution
No response
Additional Context
No response
ccMatrix commented
From testing the file manager doesn't allow creation and renaming of files and folders from/to names with spaces.
Test cases:
- Try to create a file named "test file.txt"
- Try renaming a file "testfile.txt" to "test file.txt"
- Try renaming an existing file "test file.txt" to "test.txt"
- Try to create a folder named "test folder"
- Try renaming a folder "testfolder" to "test folder"
- Try renaming an existing folder "test folder" to "testfolder"
cloudpanel-io commented
Thanks for reporting this issue. The fix will be included in the next version, v2.4.2 (ETA: End of May).
@ccMatrix Do you have time for testing the patch?
ccMatrix commented
Sure I can test the fix for this issue