]> source.dussan.org Git - nextcloud-server.git/commit
fix(dav): use quota of destination in s3 chunk upload 39678/head
authorMax <max@nextcloud.com>
Wed, 2 Aug 2023 08:09:13 +0000 (10:09 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Wed, 2 Aug 2023 11:58:09 +0000 (11:58 +0000)
commit4f2a538b7ad04bc96893d4ff5be25d2308916fd0
tree7ad5df2a9a9c8d54058a89e728df55a997709060
parente33ac4e6a83365e29da0927a7f957f58a6146a1f
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