--- a/src/server/webdav/webdav.c Tue Dec 31 14:53:13 2019 +0100 +++ b/src/server/webdav/webdav.c Tue Dec 31 16:31:29 2019 +0100 @@ -187,8 +187,9 @@ rq->davCollection : &default_backend; - // requested uri path + // requested uri and path char *path = pblock_findkeyval(pb_key_path, rq->vars); + char *uri = pblock_findkeyval(pb_key_uri, rq->reqpb); // VFS settings are only taken from the first backend uint32_t settings = dav->settings; @@ -254,7 +255,7 @@ // depth is not 0 // in this case we need to execute propfind_do for all children if(usevfs) { - if(!webdav_op_propfind_children(op, vfs, path)) { + if(!webdav_op_propfind_children(op, vfs, uri, path)) { ret = REQ_ABORTED; } }