Open dpakach opened 4 years ago
Try to list the trashbin of another user,
The expected response: 401 unauthorized with body and proper error message Actual response: 405 Method Not Allowed (no body )
curl 'https://localhost:9200/remote.php/dav/trash-bin/4c510ada-c86b-4815-8820-42cdf82c3d51/' \ -X 'PROPFIND' \ --data-binary $'<?xml version="1.0"?>\n<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n <d:prop>\n <oc:trashbin-original-filename />\n <oc:trashbin-original-location />\n <oc:trashbin-delete-datetime />\n <d:getcontentlength />\n <d:resourcetype />\n </d:prop>\n</d:propfind>' \ --compressed \ --insecure -u richard:superfluidity -v ... < HTTP/1.1 405 Method Not Allowed < Access-Control-Allow-Origin: * < Content-Length: 0 ... < * Connection #0 to host localhost left intact
Try to list the trashbin of another user,
The expected response: 401 unauthorized with body and proper error message Actual response: 405 Method Not Allowed (no body )