Mon, 12 Oct 2015 17:47:04 +0200
fixed href bug
libidav/methods.c | file | annotate | diff | comparison | revisions |
--- 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;