Repair hreferences in REPORT response

They were not extended with base_prefix.
This commit is contained in:
Unrud 2016-09-04 22:28:34 +02:00
parent eb4b513d63
commit f7435814fc

View File

@ -853,7 +853,7 @@ def _item_response(base_prefix, href, found_props=(), not_found_props=(),
response = ET.Element(_tag("D", "response")) response = ET.Element(_tag("D", "response"))
href_tag = ET.Element(_tag("D", "href")) href_tag = ET.Element(_tag("D", "href"))
href_tag.text = href href_tag.text = _href(base_prefix, href)
response.append(href_tag) response.append(href_tag)
if found_item: if found_item: