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)))))))))