From e8eb7aa1763e086c0cbc8453c81332ce5c288939 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 19 Jan 2014 18:56:52 +0100 Subject: [PATCH] Work around uri-encode changing capitalization * tekuti/page.scm (make-post-key): Downcase, to cope with uri-encode from Guile changing from lower-case hexidecimals to upper-case. Otherwise older post keys wouldn't work... --- tekuti/page.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tekuti/page.scm b/tekuti/page.scm index 58ad45e..e351f47 100644 --- a/tekuti/page.scm +++ b/tekuti/page.scm @@ -61,7 +61,7 @@ ;; Encoded twice, so as to form a single path-component. (define (make-post-key . parts) - (uri-encode (encode-and-join-uri-path parts))) + (string-downcase (uri-encode (encode-and-join-uri-path parts)))) (define (not-implemented request . args) (respond `((h1 "Not yet implemented")