aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-05-01 13:53:27 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-05-01 13:53:27 +0200
commit626268b315174b7810f9029b522fe6911d1c109a (patch)
tree3a7bc5f87a205c82b173f6e1494f1d0e15712ddc
parentMerge branch 'app'. (diff)
downloadcalp-626268b315174b7810f9029b522fe6911d1c109a.tar.gz
calp-626268b315174b7810f9029b522fe6911d1c109a.tar.xz
Fix ics download for UID's containng dot.
-rw-r--r--module/entry-points/server.scm2
1 files changed, 1 insertions, 1 deletions
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