diff --git a/CHANGELOG.md b/CHANGELOG.md index e84e88f2..8a10f3b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * Add: option [auth] type=ldap with (group) rights management via LDAP/LDAPS * Enhancement: permit_delete_collection can be now controlled also per collection by rights 'D' or 'd' * Add: option [rights] permit_overwrite_collection (default=True) which can be also controlled per collection by rights 'O' or 'o' +* Fix: only expand VEVENT on REPORT request containing 'expand' ## 3.2.3 * Add: support for Python 3.13 diff --git a/radicale/app/report.py b/radicale/app/report.py index 9d57b389..d5092db1 100644 --- a/radicale/app/report.py +++ b/radicale/app/report.py @@ -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')