Fix the href URL in propfind
This commit is contained in:
parent
49ba07db5a
commit
3d7f07dc0c
@ -201,7 +201,7 @@ def _propfind_response(path, item, props, user):
|
|||||||
response = ET.Element(_tag("D", "response"))
|
response = ET.Element(_tag("D", "response"))
|
||||||
|
|
||||||
href = ET.Element(_tag("D", "href"))
|
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)
|
response.append(href)
|
||||||
|
|
||||||
propstat404 = ET.Element(_tag("D", "propstat"))
|
propstat404 = ET.Element(_tag("D", "propstat"))
|
||||||
|
Loading…
Reference in New Issue
Block a user