mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-06 06:37:36 +03:00
<report> should contain XML elements, not text
This commit is contained in:
parent
0c1dbc30bd
commit
5abc8aea43
1 changed files with 2 additions and 1 deletions
|
@ -617,7 +617,8 @@ def _propfind_response(path, item, props, user, write=False):
|
|||
"expand-property", "principal-search-property-set"):
|
||||
supported = ET.Element(_tag("D", "supported-report"))
|
||||
report_tag = ET.Element(_tag("D", "report"))
|
||||
report_tag.text = report_name
|
||||
supported_report_tag = ET.Element(_tag("D", report_name))
|
||||
report_tag.append(supported_report_tag)
|
||||
supported.append(report_tag)
|
||||
element.append(supported)
|
||||
elif is_collection:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue