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. --- source/cgit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/cgit.h') diff --git a/source/cgit.h b/source/cgit.h index 7d7ece7..634d2f5 100644 --- a/source/cgit.h +++ b/source/cgit.h @@ -243,6 +243,7 @@ struct cgit_config { int enable_html_serving; int enable_tree_linenumbers; int enable_git_config; + int enable_cache_list; int local_time; int max_atom_items; int max_repo_count; -- cgit v2.8.0