From f421faa790d1f3abf8a67c50f86b814e551e91bf Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 9 Jun 2021 10:28:01 +0100 Subject: [PATCH] Fix a uri encoding issue with linking to outputs --- guix-data-service/web/view/html.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm index f22595b..024eeda 100644 --- a/guix-data-service/web/view/html.scm +++ b/guix-data-service/web/view/html.scm @@ -683,7 +683,10 @@ ,@(map (match-lambda ((output-name path hash-algorithm hash recursive?) `(tr - (td (a (@ (href ,path)) + (td (a (@ (href ,(string-join + (map uri-encode + (string-split path #\/)) + "/"))) ,(display-store-item-short path)))))) derivation-outputs)))))))))