diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-01 13:53:27 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-01 13:53:27 +0200 |
commit | 626268b315174b7810f9029b522fe6911d1c109a (patch) | |
tree | 3a7bc5f87a205c82b173f6e1494f1d0e15712ddc | |
parent | Merge branch 'app'. (diff) | |
download | calp-626268b315174b7810f9029b522fe6911d1c109a.tar.gz calp-626268b315174b7810f9029b522fe6911d1c109a.tar.xz |
Fix ics download for UID's containng dot.
Diffstat (limited to '')
-rw-r--r-- | module/entry-points/server.scm | 2 |
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 |