From 0e0554de4c1d85c173a4f27ed4c2165475b043fb Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 10:45:22 -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 2.12.1