You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
st3iny
changed the title
Inconsistent behaviour when uploading to external storage root vs sub directory
Inconsistent behavior when uploading to external storage root vs sub directory
Sep 25, 2024
True, but now I'm really confused. Weren't the checks delayed on purpose to prevent early scans on incomplete files? Because some checks might yield false positives when run on chunks instead of the complete file.
So I'd expect consistent behavior of waiting until all chunks are uploaded for all cases. Regardless of the file is being uploaded to /my-ext-storage or /my-ext-storage/foobar/.
How to use GitHub
Steps to reproduce
Preparation (one time)
occ config:app:delete files max_chunk_size
Case 1 (correct)
Case 2 (broken)
Expected behavior
Case 1 is behaving as expected. Case 2 is not behaving as expected. The upload should be blocked after assembly in both cases.
Actual behavior
The upload is blocked immediately in case 2 instead of postponing the check until the whole file is available like in case 1.
Server configuration
Web server: Apache (
Content-Length
fix is applied)PHP version: 8.1
Nextcloud version: master
The text was updated successfully, but these errors were encountered: