1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

box: use lib/encoder

This commit is contained in:
Fabian Möller
2018-11-02 13:13:01 +01:00
committed by Nick Craig-Wood
parent a98a750fc9
commit 05e4f10436
3 changed files with 28 additions and 24 deletions

View File

@@ -38,7 +38,7 @@ func (o *Object) createUploadSession(ctx context.Context, leaf, directoryID stri
} else {
opts.Path = "/files/upload_sessions"
request.FolderID = directoryID
request.FileName = replaceReservedChars(leaf)
request.FileName = enc.FromStandardName(leaf)
}
var resp *http.Response
err = o.fs.pacer.Call(func() (bool, error) {