From 3e284a5c3028513c0fc243e9c5d536fab64303d8 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Mon, 4 May 2026 21:34:54 +0200 Subject: [PATCH] sharing/bday: fix backmapping of suffix --- radicale/app/propfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/app/propfind.py b/radicale/app/propfind.py index 77127274..1916a857 100644 --- a/radicale/app/propfind.py +++ b/radicale/app/propfind.py @@ -158,7 +158,7 @@ def xml_propfind_response( # backmap if uri.startswith(share['PathMapped']): uri = str(share['PathOrToken']) + uri.removeprefix(share['PathMapped']) - if share_bday_automap and not uri.endswith("/"): + if share_bday_automap and uri.endswith(".vcf"): uri = uri.rstrip(".vcf") + ".ics" href.text = xmlutils.make_href(base_prefix, uri)