aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nar-herder/server.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/nar-herder/server.scm b/nar-herder/server.scm
index b3418cc..fa0b2f0 100644
--- a/nar-herder/server.scm
+++ b/nar-herder/server.scm
@@ -401,7 +401,8 @@
(uri-encode filename)))))
#f)))
(let ((cached-narinfo-file
- (and compression-symbol
+ (and narinfo ; must be a known hash
+ compression-symbol ; must be a known compression
;; Check that the filename given in the
;; request matches the narinfo store-path
(string=? filename