From b86c460ba17af39174b0b28d36b9eff3b5a359ef Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 22 Feb 2026 12:38:37 +0100 Subject: [PATCH] use new parent_path --- radicale/app/move.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radicale/app/move.py b/radicale/app/move.py index cb6c11cc..1dcba526 100644 --- a/radicale/app/move.py +++ b/radicale/app/move.py @@ -97,8 +97,7 @@ class ApplicationPartMove(ApplicationBase): to_item = next(iter(self._storage.discover(to_path)), None) if isinstance(to_item, storage.BaseCollection): return httputils.FORBIDDEN - to_parent_path = pathutils.unstrip_path( - posixpath.dirname(pathutils.strip_path(to_path)), True) + to_parent_path = pathutils.parent_path(to_path) to_collection = next(iter( self._storage.discover(to_parent_path)), None) if not to_collection: