From 32746d03cfae1f4f0499aee6e3ae5431d57ea478 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 22 Feb 2026 12:33:44 +0100 Subject: [PATCH] use new parent_path --- radicale/app/mkcalendar.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radicale/app/mkcalendar.py b/radicale/app/mkcalendar.py index 53abcdbd..ccdf850c 100644 --- a/radicale/app/mkcalendar.py +++ b/radicale/app/mkcalendar.py @@ -62,8 +62,7 @@ class ApplicationPartMkcalendar(ApplicationBase): if item: return self._webdav_error_response( client.CONFLICT, "D:resource-must-be-null") - parent_path = pathutils.unstrip_path( - posixpath.dirname(pathutils.strip_path(path)), True) + parent_path = pathutils.parent_path(path) parent_item = next(iter(self._storage.discover(parent_path)), None) if not parent_item: return httputils.CONFLICT