1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-23 17:48:30 +00:00

Allow multiple <D:set> and <D:remove> elements and consider order

This commit is contained in:
Unrud 2020-09-26 22:08:22 +02:00
parent 4ff3f545cc
commit d23a7365ba
4 changed files with 40 additions and 35 deletions

View file

@ -44,6 +44,7 @@ class ApplicationMkcolMixin:
return httputils.REQUEST_TIMEOUT
# Prepare before locking
props = xmlutils.props_from_request(xml_content)
props = {k: v for k, v in props.items() if v is not None}
try:
radicale_item.check_and_sanitize_props(props)
except ValueError as e: