reva
reva copied to clipboard
WebDAV MOVE with body returns 400 rather than 415
This was fixed in the edge branch, but still fails in the master branch. https://drone.cernbox.cern.ch/cs3org/reva/8201/10/6
Scenario: send MOVE requests to webDav endpoints with body as normal user # /drone/src/tmp/testrunner/tests/acceptance/features/apiAuthWebDav/webDavMOVEAuth.feature:163
When user "Alice" requests these endpoints with "MOVE" including body "doesnotmatter" about user "Alice" # OCSContext::userSendsRequestToTheseEndpointsWithBody()
| endpoint |
| /remote.php/webdav/textfile0.txt |
| /remote.php/dav/files/%username%/textfile0.txt |
| /remote.php/webdav/PARENT |
| /remote.php/dav/files/%username%/PARENT |
| /remote.php/webdav/PARENT/parent.txt |
| /remote.php/dav/files/%username%/PARENT/parent.txt |
Then the HTTP status code of responses on all endpoints should be "415" # FeatureContext::theHTTPStatusCodeOfResponsesOnAllEndpointsShouldBe()
Responses did not return expected http status code
Failed asserting that 400 is identical to 415.
expected-failures in reva master will link to this issue.
The fix from edge could be backported to reva master, if someone wants to do it.