-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofenhancementfeature: dav
Description
Steps to reproduce:
- Create an empty
directorywith Nextcloud. - Use the chunk upload feature via WebDAV API.
- Try to move the chunks to the existing directory…
MOVE /remote.php/dav/uploads/username/chunk/.file
Destination: https://hostname/remote.php/dav/files/username/directory
Result:
- No HTTP/WebDAV error
- Chunk files deleted
- Uploaded file lost
- PHP warning…
file_put_contents(data/username/files/directory): failed to open stream: Is a directory
at lib/private/Files/Storage/Local.php#503
I know, it's a bad idea to move an upload to a directory, but THAT shouldn't happen? 😕
I would expect a HTTP/WebDAV error, without a PHP warning and without all chunks getting lost.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofenhancementfeature: dav