Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

chunker: fix double-transform

nielashe469c8974c35
diff --git a/backend/chunker/chunker.go b/backend/chunker/chunker.go
index c3f4d320f..95d32d9be 100644
--- a/backend/chunker/chunker.go
+++ b/backend/chunker/chunker.go
@@ -1861,6 +1861,8 @@ func (f *Fs) Move(ctx context.Context, src fs.Object, remote string) (fs.Object,
// baseMove chains to the wrapped Move or simulates it by Copy+Delete
func (f *Fs) baseMove(ctx context.Context, src fs.Object, remote string, delMode int) (fs.Object, error) {
+ ctx, ci := fs.AddConfig(ctx)
+ ci.NameTransform = nil // ensure operations.Move does not double-transform here
var (
dest fs.Object
err error