Describe the bug
Uploading a 0kb file to a secret file drop results in an error however the file appears in the folder multiple times.
Steps to reproduce
- Create 0kb file
- Create space and set up a public link as a secret file drop
- Try to upload the file to the secret file drop. Error is seen.
- Look in the space and check for file. Multiple copies are there.
Expected behavior
A successful upload of a single file or an error saying the file is empty.
Actual behavior
An error is shown saying upload failed but the upload was successful.
Setup
https://ocis.ocis-keycloak.rolling.owncloud.works/