1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Fix: only expand VEVENT on REPORT request

This commit is contained in:
Peter Bieringer 2024-10-12 07:25:29 +02:00
parent a8baea9b19
commit 59c638461b
2 changed files with 2 additions and 1 deletions

View file

@ -257,7 +257,7 @@ def xml_report(base_prefix: str, path: str, xml_request: Optional[ET.Element],
element.text = item.serialize()
expand = prop.find(xmlutils.make_clark("C:expand"))
if expand is not None:
if expand is not None and item.component_name == 'VEVENT':
start = expand.get('start')
end = expand.get('end')