"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 Unable to decrypt returned paths from changeNotify - fixes #5165
Nick Craig-Wood5d85e6bc9cf8
diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.goindex 9a5c4c450..fe0c39d83 100755--- a/backend/dropbox/dropbox.go+++ b/backend/dropbox/dropbox.go@@ -1353,13 +1353,13 @@ func (f *Fs) changeNotifyRunner(ctx context.Context, notifyFunc func(string, fs.switch info := entry.(type) {case *files.FolderMetadata:entryType = fs.EntryDirectory- entryPath = strings.TrimLeft(info.PathDisplay, f.slashRootSlash)+ entryPath = strings.TrimPrefix(info.PathDisplay, f.slashRootSlash)case *files.FileMetadata:entryType = fs.EntryObject- entryPath = strings.TrimLeft(info.PathDisplay, f.slashRootSlash)+ entryPath = strings.TrimPrefix(info.PathDisplay, f.slashRootSlash)case *files.DeletedMetadata:entryType = fs.EntryObject- entryPath = strings.TrimLeft(info.PathDisplay, f.slashRootSlash)+ entryPath = strings.TrimPrefix(info.PathDisplay, f.slashRootSlash)default:fs.Errorf(entry, "dropbox ChangeNotify: ignoring unknown EntryType %T", entry)continue