From 626268b315174b7810f9029b522fe6911d1c109a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 1 May 2020 13:53:27 +0200 Subject: Fix ics download for UID's containng dot. --- module/entry-points/server.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/entry-points/server.scm') diff --git a/module/entry-points/server.scm b/module/entry-points/server.scm index 63fb83a8..4c480fe2 100644 --- a/module/entry-points/server.scm +++ b/module/entry-points/server.scm @@ -102,7 +102,7 @@ (parse-iso-date end)))))) ;; TODO this fails if there's a period in the uid. - (GET "/calendar/:uid.ics" (uid) + (GET "/calendar/:uid{.*}.ics" (uid) (aif (get-event-by-uid uid) (return '((content-type text/calendar)) (with-output-to-string -- cgit v1.2.3