From 38cc2117621fac777920367f1408a321a34ec3a2 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 14 Sep 2017 17:21:11 +0100 Subject: [PATCH] box: fix Update to send the correct name #97 This caused problems with the UTF Normalization with files being continuously re-uploaded. --- box/box.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/box/box.go b/box/box.go index 33eb1acca..3e3eb67c4 100644 --- a/box/box.go +++ b/box/box.go @@ -1032,7 +1032,7 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio size := src.Size() modTime := src.ModTime() - remote := src.Remote() + remote := o.Remote() // Create the directory for the object if it doesn't exist leaf, directoryID, err := o.fs.dirCache.FindRootAndPath(remote, true)