mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Chunking Move: Fix too many starting slashes in the destination header
Commit 6ca724f fixed it for the move case. But the upload MOVE did the same Issue #6904
This commit is contained in:
parent
0e56dfe3a4
commit
51d2e41d8b
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@ void PropagateUploadFileNG::startNextChunk()
|
|||
|
||||
// Finish with a MOVE
|
||||
// If we changed the file name, we must store the changed filename in the remote folder, not the original one.
|
||||
QString destination = QDir::cleanPath(propagator()->account()->url().path() + QLatin1Char('/')
|
||||
+ propagator()->account()->davPath() + propagator()->_remoteFolder + _fileToUpload._file);
|
||||
QString destination = QDir::cleanPath(propagator()->account()->davUrl().path()
|
||||
+ propagator()->_remoteFolder + _fileToUpload._file);
|
||||
auto headers = PropagateUploadFileCommon::headers();
|
||||
|
||||
// "If-Match applies to the source, but we are interested in comparing the etag of the destination
|
||||
|
|
Loading…
Reference in a new issue