Downloaded /Shares
tar contains resource (files|folder) with leading /
in Response
#4636
Labels
/Shares
tar contains resource (files|folder) with leading /
in Response
#4636
Describe the bug
When downloading the
/Shares
folder as tar through API request containing different resources (files | folders), then viewing the archived tar file, it contains the leading/
in each files and folder inside the archived file.Steps to reproduce
Steps to reproduce the behavior:
user1
anduser2
user1
create filefile.txt
with contentsome content
user1
creates foldernewfolder
user2
user2
accepts the filefile.txt
fromuser1
/Shares
folder as tar.CURL command to download the
Shares
folder isNote: The response from the above command should be set somewhere in the local file system as .tar (for example i have set to Shares.tar)
Expected behavior
As
user1
downloads theroot
asdownload.tar
(containing all files and folder) then view the tar with command:output :
It does not contains leading
/
Actual behavior
For the downlaoded Shares.tar
output :
We see leading
/
for each files and folderNote
Downlaoding the
Shares
folder as tar is only possible with API.The text was updated successfully, but these errors were encountered: