We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d58ae3 commit 0bc8908Copy full SHA for 0bc8908
apps/dav/lib/Upload/ChunkingV2Plugin.php
@@ -344,7 +344,7 @@ private function completeChunkedWrite(string $targetAbsolutePath): void {
344
345
// If the file was not uploaded to the user storage directly we need to copy/move it
346
try {
347
- $uploadFileAbsolutePath = Filesystem::getRoot() . $uploadFile->getPath();
+ $uploadFileAbsolutePath = $uploadFile->getFileInfo()->getPath();
348
if ($uploadFileAbsolutePath !== $targetAbsolutePath) {
349
$uploadFile = $rootFolder->get($uploadFile->getFileInfo()->getPath());
350
if ($exists) {
0 commit comments