Subject: | DELETE may not succeed on collections |
Per RFC the DELETE method is meant to remove files and directories
recursively. But the implemented DELETE method mostly, at least in
parts, fails.
The method uses Filesys::Virtual::* which in turn, for example in
::Plain relies on perl's rmdir(). While looping over items to be
deleted, delete() does not delete files first, that's why it may happen
that a dir send to rmdir() is not empty and this silently fails. The
result is that directory trees may not be deleted 100%.
Many clients mask this bug as they issue a PROPFIND to identify
individual files/dirs first, before they issue subsequent DELETEs on
individual items in a depth-first order.
As it appears, once again litmus did not uncover this.