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:
parent
a8baea9b19
commit
59c638461b
2 changed files with 2 additions and 1 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue