From 3d7f07dc0c1b5866d988cf7c722f2caf4b929846 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Thu, 30 Jun 2011 18:05:24 +0200 Subject: [PATCH] Fix the href URL in propfind --- radicale/xmlutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index b5d28bca..074bd626 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -201,7 +201,7 @@ def _propfind_response(path, item, props, user): response = ET.Element(_tag("D", "response")) href = ET.Element(_tag("D", "href")) - href.text = item.local_path if is_calendar else "%s/%s" % (path, item.name) + href.text = item.url if is_calendar else "%s/%s" % (path, item.name) response.append(href) propstat404 = ET.Element(_tag("D", "propstat"))