mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
- do a second reverse lookup for object on DELETE
This commit is contained in:
parent
020165de17
commit
e704adab00
|
@ -590,6 +590,9 @@ class HTTP_WebDAV_Server_LetoDMS extends HTTP_WebDAV_Server
|
|||
|
||||
// get folder or document from path
|
||||
$obj = $this->reverseLookup($options["path"]);
|
||||
/* Make a second try if it is a directory with the leading '/' */
|
||||
if(!$obj)
|
||||
$obj = $this->reverseLookup($options["path"].'/');
|
||||
|
||||
// sanity check
|
||||
if (!$obj) return "404 Not found";
|
||||
|
|
Loading…
Reference in New Issue
Block a user