webdav: fix DirMove for bitrix - FIXME DO NOT MERGE

This implements a workaround to enable DirMove for bitrix to work.

This is an apparently non RFC compliant change.

See: https://forum.rclone.org/t/cant-manage-folders-using-bitrix-webdav-under-windows/23073
This commit is contained in:
Nick Craig-Wood 2021-03-29 19:32:09 +01:00
parent fc57648b75
commit 9ea209a9ab
1 changed files with 1 additions and 1 deletions

View File

@ -1067,7 +1067,7 @@ func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string
Path: addSlash(srcPath),
NoResponse: true,
ExtraHeaders: map[string]string{
"Destination": addSlash(destinationURL.String()),
"Destination": destinationURL.String(),
"Overwrite": "F",
},
}