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

Workaround for broken contact PHOTO from InfCloud

See issue #1205
This commit is contained in:
Unrud 2022-01-15 23:39:05 +01:00
parent 4a0bcde7a3
commit 75df1093be
5 changed files with 28 additions and 5 deletions

View file

@ -141,7 +141,7 @@ class ApplicationPartPut(ApplicationBase):
content_type = environ.get("CONTENT_TYPE", "").split(";",
maxsplit=1)[0]
try:
vobject_items = list(vobject.readComponents(content or ""))
vobject_items = radicale_item.read_components(content or "")
except Exception as e:
logger.warning(
"Bad PUT request on %r: %s", path, e, exc_info=True)