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.
2 parents 355bc5e + 93c0335 commit dc52a25Copy full SHA for dc52a25
1 file changed
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