]> source.dussan.org Git - nextcloud-server.git/commit
fix(dav): use quota of destination in s3 chunk upload 39679/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 12:10:57 +0000 (12:10 +0000)
commite9c9fb4bd3c1be53969b9793ef78898b50aa3d5d
tree3392595e937c1fa6f1d7102ca029e85b45b877f6
parentc908faa3c58848ea0f1f2ca02f6257615b35971f
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