summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--henrietta-cache.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/henrietta-cache.scm b/henrietta-cache.scm
index 1dc264c..76276cb 100644
--- a/henrietta-cache.scm
+++ b/henrietta-cache.scm
@@ -23,7 +23,7 @@ EOF
(define (replace-uri-patterns uri patterns)
(string-translate* uri (map (lambda (pattern)
(cons (conc "{" (car pattern) "}")
- (->string (cdr pattern))))
+ (uri-encode-string (->string (cdr pattern)))))
patterns)))
;; We could also use sendfile egg here, but do we want the dependency?