diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-01-14 16:53:28 +0300 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-01-14 17:42:56 +0300 |
commit | c326f3eb026d67650f79a6dda9a1a42c55d10a25 (patch) | |
tree | 51b94c63164ea924eb019c2e3c1e0b290509549b /cgit.h | |
parent | 9ca2566972db968df4479108b29bb92551138b57 (diff) |
ui-plain: add enable-html-serving flag
Unrestricts plain/ to contents likely to be executed by browser.
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |