mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 10:23:16 +08:00
box: fix NewObject for files that differ in case #4830
This commit is contained in:
parent
b81b6da3fc
commit
4acd68188b
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user