"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
dropbox: Fix crypt+obfuscate on dropbox - fixes #2191
Nick Craig-Wood05e32cfcf9aa
diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.goindex 59277a6f9..3453da9a7 100644--- a/backend/dropbox/dropbox.go+++ b/backend/dropbox/dropbox.go@@ -240,11 +240,9 @@ func NewFs(name, root string) (fs.Fs, error) {// Sets root in ffunc (f *Fs) setRoot(root string) {f.root = strings.Trim(root, "/")- lowerCaseRoot := strings.ToLower(f.root)-- f.slashRoot = "/" + lowerCaseRoot+ f.slashRoot = "/" + f.rootf.slashRootSlash = f.slashRoot- if lowerCaseRoot != "" {+ if f.root != "" {f.slashRootSlash += "/"}}