aboutsummaryrefslogtreecommitdiff
path: root/module/web
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-08-15 19:43:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2021-08-15 19:43:00 +0200
commitee91e94c7b78cc65f2e7db11cc58d41d92faa038 (patch)
tree046ad3a18294a22010732525982f096cc9f83246 /module/web
parentAdd comment about "bug" where calendars where missing their names. (diff)
downloadcalp-ee91e94c7b78cc65f2e7db11cc58d41d92faa038.tar.gz
calp-ee91e94c7b78cc65f2e7db11cc58d41d92faa038.tar.xz
Fix encode-query-parameters.
Multiple parameters are now correctly joined by an ampersand. Also noticed that the given parameters should use the regular ->string for encoding strings.
Diffstat (limited to 'module/web')
-rw-r--r--module/web/uri-query.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/uri-query.scm b/module/web/uri-query.scm
index efdd178a..9eff203f 100644
--- a/module/web/uri-query.scm
+++ b/module/web/uri-query.scm
@@ -10,5 +10,6 @@
(format #f "~a=~a"
(car p)
(uri-encode (->quoted-string (cdr p)))))
- parameters)))
+ parameters)
+ "&"))