libidav/methods.c

changeset 156
4b3aecafd6be
parent 150
37fb12574acd
child 162
25374afa5616
--- a/libidav/methods.c	Mon Oct 12 14:36:54 2015 +0200
+++ b/libidav/methods.c	Mon Oct 12 17:47:04 2015 +0200
@@ -35,6 +35,8 @@
 #include "crypto.h"
 #include "session.h"
 
+#include <ucx/utils.h>
+
 #define xstreq(a,b) xmlStrEqual(BAD_CAST a, BAD_CAST b)
 
 /* ----------------------------- PROPFIND ----------------------------- */
@@ -352,7 +354,7 @@
         node = node->next;
     }
     
-    result->href = href;
+    result->href = util_url_path(href);
     result->iscollection = iscollection;
     result->properties = properties;
     result->crypto_name = crypto_name;

mercurial