arturobernalg opened a new pull request, #1252: URL: https://github.com/apache/tomcat/pull/1252
RFC 4918 9.9.2 requires MOVE on a collection to act as `Depth: infinity`. A MOVE with `Depth: 0` copied only the empty collection, then deleted the source with all its members and returned 201. COPY and MOVE with an invalid Depth deleted an existing destination before rejecting the request with 400. This follows httpd mod_dav: an invalid Depth, and `Depth: 0` on a MOVE of a collection, are rejected with 400 before anything is deleted. The new tests in `TestWebdavServlet` fail without the fix. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
