Skip to content
Snippets Groups Projects
Commit ec669214 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Revert double slash removal

parent 99733b39
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,7 @@ dav_upload_folder() { ...@@ -263,7 +263,7 @@ dav_upload_folder() {
# with the server path prefix ('private-upload/docs/test/') # with the server path prefix ('private-upload/docs/test/')
# to make something like '../folder1/folder2/folder-to-upload/test.txt' # to make something like '../folder1/folder2/folder-to-upload/test.txt'
# into 'private-upload/docs/test.txt' # into 'private-upload/docs/test.txt'
local server_path="${fname/$1\//$2}" local server_path="${fname/$1/$2}"
# if its a file... # if its a file...
if [[ -f "${fname}" ]]; then if [[ -f "${fname}" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment