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:
committed by
Nick Craig-Wood
parent
a98a750fc9
commit
05e4f10436
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user