# HG changeset patch # User Olaf Wintermann # Date 1444664824 -7200 # Node ID 4b3aecafd6be0240a8d9fa69909f16f26b6f917e # Parent b85248a8aee27dc6c8b427b59c2d45a2efb68ce2 fixed href bug diff -r b85248a8aee2 -r 4b3aecafd6be libidav/methods.c --- 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 + #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;