mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #43983 from nextcloud/fix/s3-upload-shared-lock
Use the proper path to check if a file needs to be copied/moved to the actual target storage
This commit is contained in:
commit
94ebc97326
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ class ChunkingV2Plugin extends ServerPlugin {
|
|||
|
||||
// If the file was not uploaded to the user storage directly we need to copy/move it
|
||||
try {
|
||||
$uploadFileAbsolutePath = Filesystem::getRoot() . $uploadFile->getPath();
|
||||
$uploadFileAbsolutePath = $uploadFile->getFileInfo()->getPath();
|
||||
if ($uploadFileAbsolutePath !== $targetAbsolutePath) {
|
||||
$uploadFile = $rootFolder->get($uploadFile->getFileInfo()->getPath());
|
||||
if ($exists) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue