Public Upload: Error 500 thrown by request.php

On trying to upload to a folder that has been set up to accept a public upload, the client receives an error 500

  1. Open the shared link - upload form is displayed
  2. Either drag a file to the upload area or select one using the file browser
  3. Fires XHR request to /public.php/webdav/<filename.ext>
  4. 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

… or could anyone confirm that this is working flawlessly in his installation?

For now I figured that it must have something to do with the user sharing the folder publicly.
If this is a user authenticated with LDAP the above error occurs. If the user is a ‘local’ nextcloud user, the error doesn’t occur.