mirror of
https://github.com/rclone/rclone
synced 2025-01-01 01:06:24 +01:00
onedrive: fix sometimes special chars in filenames not replaced
This commit is contained in:
parent
b3d8bc61ac
commit
a288646419
@ -1261,7 +1261,7 @@ func (o *Object) createUploadSession(modTime time.Time) (response *api.CreateUpl
|
|||||||
opts = rest.Opts{
|
opts = rest.Opts{
|
||||||
Method: "POST",
|
Method: "POST",
|
||||||
RootURL: rootURL,
|
RootURL: rootURL,
|
||||||
Path: "/" + drive + "/items/" + id + ":/" + rest.URLPathEscape(leaf) + ":/createUploadSession",
|
Path: "/" + drive + "/items/" + id + ":/" + rest.URLPathEscape(replaceReservedChars(leaf)) + ":/createUploadSession",
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
opts = rest.Opts{
|
opts = rest.Opts{
|
||||||
|
Loading…
Reference in New Issue
Block a user