On trying to upload to a folder that has been set up to accept a public upload, the client receives an error 500
- Open the shared link - upload form is displayed
- Either drag a file to the upload area or select one using the file browser
- Fires XHR request to /public.php/webdav/<filename.ext>
- server returns a 500 error
Response is
<?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>LogicException</s:exception> <s:message>"put" can only be accessed once if not application/x-www-form-urlencoded or application/json.</s:message> </d:error>
This error is thrown apparently from /lib/private/appframework/http/request.php
Tested on Chrome and Firefox on Mac as well as Safari on iOS
Nextcloud version: 11.0.2.7
PHP version: 7.0