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
Another really strange thing, the server responds correctly when we send data with POST
❯ curl http://localhost/remote.php/dav/files/admin/PARENT/parent.txt -u admin:admin -XPOST -d "HELLO"
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\NotImplemented</s:exception>
<s:message>There was no plugin in the system that was willing to handle this POST method.</s:message>
</d:error>
This looks like a sabre/dav issue. I raised sabre-io/dav#1324
And PR sabre-io/dav#1325 should fix it. When that is reviewed and released, we can bump the dependency in owncloud/core and re-test.
Steps to reproduce
1.Try to do a dav request on webdav endpoint with POST request
Expected behaviour
Server should not throw any errors and give 501 Not Implemented since POST is not used in webDAV
Actual behaviour
It gives 500 Internal Server Error with response body
And server log
Server configuration
Operating system: ubuntu 20.04
Web server: apache2
Database: mysql
PHP version: 7.4
ownCloud version: (see ownCloud admin page) latest git master
Updated from an older ownCloud or fresh install: fresh
Where did you install ownCloud from: git
The text was updated successfully, but these errors were encountered: