aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-data-service/web/nar/controller.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-data-service/web/nar/controller.scm b/guix-data-service/web/nar/controller.scm
index 606040e..2bf61be 100644
--- a/guix-data-service/web/nar/controller.scm
+++ b/guix-data-service/web/nar/controller.scm
@@ -75,7 +75,7 @@
;; content negotiation, so just use the path from the request
(let* ((path (uri-path (request-uri request)))
(file-name
- (last (string-split path #\/))))
+ (uri-decode (last (string-split path #\/)))))
(render-nar request
mime-types
conn
@@ -85,7 +85,7 @@
;; content negotiation, so just use the path from the request
(let* ((path (uri-path (request-uri request)))
(file-name
- (last (string-split path #\/))))
+ (uri-decode (last (string-split path #\/)))))
(render-lzip-nar request
mime-types
conn