Merge pull request #1592 from pbiering/fix-issue-1591
Fix: only expand VEVENT on REPORT request
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
* Add: option [auth] type=ldap with (group) rights management via LDAP/LDAPS
|
* 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'
|
* 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'
|
* 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
|
## 3.2.3
|
||||||
* Add: support for Python 3.13
|
* Add: support for Python 3.13
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ def xml_report(base_prefix: str, path: str, xml_request: Optional[ET.Element],
|
|||||||
element.text = item.serialize()
|
element.text = item.serialize()
|
||||||
|
|
||||||
expand = prop.find(xmlutils.make_clark("C:expand"))
|
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')
|
start = expand.get('start')
|
||||||
end = expand.get('end')
|
end = expand.get('end')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user