From b4cab301e74905b7b11596383ab3d2cdcfe788d7 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Mon, 4 May 2026 21:39:38 +0200 Subject: [PATCH] sharing: fix mapping of single item --- radicale/sharing/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radicale/sharing/__init__.py b/radicale/sharing/__init__.py index 109b292d..b1b1078e 100644 --- a/radicale/sharing/__init__.py +++ b/radicale/sharing/__init__.py @@ -500,7 +500,9 @@ class BaseSharing: if result['Conversion'] == "bday" and result['PathMapped'].endswith(".ics"): result['PathMapped'] = result['PathMapped'].removesuffix(".ics") + ".vcf" - logger.info("sharing/%s: resolved path %r->%r, user %r->%r, Permissions=%r Conversion=%r", "map", path, result['PathMapped'], user, result['Owner'], result['Permissions'], result['Conversion']) + result['PathOrToken'] = path + + logger.info("sharing/%s: resolved path %r->%r, user %r->%r, Permissions=%r Conversion=%r", "map", result['PathOrToken'], result['PathMapped'], user, result['Owner'], result['Permissions'], result['Conversion']) return result return None