From e3d85ae7a607cf98455b38657baed34fecb8bb38 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 08:35:10 -1000 Subject: Gate the cache listing behind `enable-cache-list` The `ls_cache` page printed the cache directory path and the urls other visitors had requested, with no gate at all. --- cgitrc.5.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cgitrc.5.txt') diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 7a0cf03..d9f0b93 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -156,6 +156,12 @@ enable-filter-overrides:: Flag which, when set to "1", allows all filter settings to be overridden in repository-specific cgitrc files. Default value: none. +enable-cache-list:: + Flag which, when set to "1", exposes the "ls_cache" page. That page + lists the cache directory path and the URLs of requests other visitors + made, so it is disabled by default and should stay off on any instance + where that disclosure matters. Default value: "0". + enable-follow-links:: Flag which, when set to "1", allows users to follow a file in the log view. Default value: "0". -- cgit v2.8.0