Skip Menu |

This queue is for tickets about the Net-DAV-Server CPAN distribution.

Report information
The Basics
Id: 60896
Status: new
Priority: 0/
Queue: Net-DAV-Server

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.300_05
Fixed in: (no value)



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.