src/server/webdav/webdav.c

branch
webdav
changeset 307
8787cb5ebab3
parent 306
e03737cea6e2
child 309
fc021bd576d4
--- a/src/server/webdav/webdav.c	Sun Apr 24 18:35:44 2022 +0200
+++ b/src/server/webdav/webdav.c	Mon Apr 25 13:48:05 2022 +0200
@@ -278,6 +278,7 @@
         WebdavBackend *dav,
         WebdavPropfindRequest *propfind,
         const char *path,
+        const char *uri,
         UcxList **out_req)
 {   
     pool_handle_t *pool = propfind->sn->pool;
@@ -317,7 +318,7 @@
         
         // run init: this can generate a new properties list (newProp)
         //           which will be passed to the next backend
-        if(davList->propfind_init(pReq, path, &newProp)) {
+        if(davList->propfind_init(pReq, path, uri, &newProp)) {
             return REQ_ABORTED;
         }
         
@@ -348,7 +349,7 @@
     UcxList *requestObjects = NULL;
     
     // Initialize all Webdav Backends
-    if(webdav_propfind_init(dav, propfind, path, &requestObjects)) {
+    if(webdav_propfind_init(dav, propfind, path, uri, &requestObjects)) {
         return REQ_ABORTED;
     }
     
@@ -765,6 +766,7 @@
 int default_propfind_init(
         WebdavPropfindRequest *rq,
         const char* path,
+        const char *href,
         WebdavPList **outplist)
 {
     DefaultWebdavData *data = pool_malloc(

mercurial