]> source.dussan.org Git - nextcloud-server.git/commit
fix(dav): use quota of destination in s3 chunk upload 39672/head
authorMax <max@nextcloud.com>
Wed, 2 Aug 2023 08:09:13 +0000 (10:09 +0200)
committerMax <max@nextcloud.com>
Wed, 2 Aug 2023 08:09:13 +0000 (10:09 +0200)
commit2124fb9ff25529b069dee4ca946969252ab5ef8a
tree514b16b5b233e993fed46438fa1630f4d093fbdb
parent6ec35e3799974afdfa04fe43585f613534465610
fix(dav): use quota of destination in s3 chunk upload

Resolves: #39228.
Check the free space on the destination.

Before it was checking the free space on `$storage`
which is the upload storage of the user who triggered the upload.
This led to user quota being applied
even when uploading to a share with unlimited space.

Signed-off-by: Max <max@nextcloud.com>
apps/dav/lib/Upload/ChunkingV2Plugin.php