From 4acd68188b2bdc5816a5095935c225e46573fef5 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 6 Dec 2020 17:08:45 +0000 Subject: [PATCH] box: fix NewObject for files that differ in case #4830 --- backend/box/box.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/box/box.go b/backend/box/box.go index a1a6096df..7edeaacbf 100644 --- a/backend/box/box.go +++ b/backend/box/box.go @@ -339,7 +339,7 @@ func (f *Fs) readMetaDataForPath(ctx context.Context, path string) (info *api.It } found, err := f.listAll(ctx, directoryID, false, true, func(item *api.Item) bool { - if item.Name == leaf { + if strings.EqualFold(item.Name, leaf) { info = item return true }