[Bug]: unable to edit virtual folders beginning with slashes in name
Author: aellweinCreated Aug 12, 2024Updated Sep 22, 2026
Labelsbug
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration issue.
- This issue is not already reported on Github (I've searched it).
Bug description
If a virtual folder with a beginning slash in name (e.g. "/data/myfolder") is created, it can be used and assigned to user's folders, but it cannot be edited or deleted. I suppose slash in name somehow collides with RESTful paths used in SFTPGo. Hint: i've tested it with virtual folders on Azure Blob in SFTPGo v2.6.2, but i assume the problem will exist in any data provider.
Steps to reproduce
- create a virtual folder named "/data/something"
- try to edit/delete
Expected behavior
folder with a beginning slash in name should be editable / deletable
SFTPGo version
2.6.2
Data provider
azure blob
Installation method
Community Docker image
Configuration
default config
Relevant log output
No response
What are you using SFTPGo for?
Medium business
Additional info
No response
Source: drakkan/sftpgo