diff options
author | Jason A. Donenfeld | 2016-01-14 14:53:28 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2016-01-14 15:42:56 +0100 |
commit | c326f3eb026d67650f79a6dda9a1a42c55d10a25 (patch) | |
tree | 51b94c63164ea924eb019c2e3c1e0b290509549b /cgit.h | |
parent | 9ca2566972db968df4479108b29bb92551138b57 (diff) | |
download | cgit-c326f3eb026d67650f79a6dda9a1a42c55d10a25.tar.gz cgit-c326f3eb026d67650f79a6dda9a1a42c55d10a25.tar.bz2 cgit-c326f3eb026d67650f79a6dda9a1a42c55d10a25.zip |
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 { | |||
101 | int enable_log_linecount; | 101 | int enable_log_linecount; |
102 | int enable_remote_branches; | 102 | int enable_remote_branches; |
103 | int enable_subject_links; | 103 | int enable_subject_links; |
104 | int enable_html_serving; | ||
104 | int max_stats; | 105 | int max_stats; |
105 | int branch_sort; | 106 | int branch_sort; |
106 | int commit_sort; | 107 | int commit_sort; |
@@ -235,6 +236,7 @@ struct cgit_config { | |||
235 | int enable_log_linecount; | 236 | int enable_log_linecount; |
236 | int enable_remote_branches; | 237 | int enable_remote_branches; |
237 | int enable_subject_links; | 238 | int enable_subject_links; |
239 | int enable_html_serving; | ||
238 | int enable_tree_linenumbers; | 240 | int enable_tree_linenumbers; |
239 | int enable_git_config; | 241 | int enable_git_config; |
240 | int local_time; | 242 | int local_time; |