From a24fbd108f75c8f27d2f68f2d1a051e2f3f3e191 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 17 May 2022 12:01:28 +0100 Subject: Encode filenames when passing the request back to nginx This handles filenames which contain characters like ? and =. --- nar-herder/server.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nar-herder/server.scm b/nar-herder/server.scm index ea0c0a8..68e3219 100644 --- a/nar-herder/server.scm +++ b/nar-herder/server.scm @@ -174,7 +174,7 @@ . ,(string-append "/internal/nar/" compression "/" - filename)))) + (uri-encode filename))))) #f) (values (build-response #:code 404) "404")))) -- cgit v1.2.3