mirror of
https://github.com/rclone/rclone.git
synced 2025-12-15 07:43:35 +00:00
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:
@@ -1067,7 +1067,7 @@ func (f *Fs) DirMove(ctx context.Context, src fs.Fs, srcRemote, dstRemote string
|
|||||||
Path: addSlash(srcPath),
|
Path: addSlash(srcPath),
|
||||||
NoResponse: true,
|
NoResponse: true,
|
||||||
ExtraHeaders: map[string]string{
|
ExtraHeaders: map[string]string{
|
||||||
"Destination": addSlash(destinationURL.String()),
|
"Destination": destinationURL.String(),
|
||||||
"Overwrite": "F",
|
"Overwrite": "F",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user