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)