mirror of
https://git.zx2c4.com/cgit
synced 2025-07-09 17:54:35 +02:00
ui-plain: add enable-html-serving flag
Unrestricts plain/ to contents likely to be executed by browser.
This commit is contained in:
parent
9ca2566972
commit
c326f3eb02
5 changed files with 29 additions and 0 deletions
2
cgit.h
2
cgit.h
|
@ -101,6 +101,7 @@ struct cgit_repo {
|
|||
int enable_log_linecount;
|
||||
int enable_remote_branches;
|
||||
int enable_subject_links;
|
||||
int enable_html_serving;
|
||||
int max_stats;
|
||||
int branch_sort;
|
||||
int commit_sort;
|
||||
|
@ -235,6 +236,7 @@ struct cgit_config {
|
|||
int enable_log_linecount;
|
||||
int enable_remote_branches;
|
||||
int enable_subject_links;
|
||||
int enable_html_serving;
|
||||
int enable_tree_linenumbers;
|
||||
int enable_git_config;
|
||||
int local_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue