From c326f3eb026d67650f79a6dda9a1a42c55d10a25 Mon Sep 17 00:00:00 2001 From: Jason A. Donenfeld Date: Thu, 14 Jan 2016 14:53:28 +0100 Subject: ui-plain: add enable-html-serving flag Unrestricts plain/ to contents likely to be executed by browser. --- shared.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shared.c') diff --git a/shared.c b/shared.c index 42b2ddc..a078a27 100644 --- a/shared.c +++ b/shared.c @@ -61,6 +61,7 @@ struct cgit_repo *cgit_add_repo(const char *url) ret->enable_log_linecount = ctx.cfg.enable_log_linecount; ret->enable_remote_branches = ctx.cfg.enable_remote_branches; ret->enable_subject_links = ctx.cfg.enable_subject_links; + ret->enable_html_serving = ctx.cfg.enable_html_serving; ret->max_stats = ctx.cfg.max_stats; ret->branch_sort = ctx.cfg.branch_sort; ret->commit_sort = ctx.cfg.commit_sort; -- cgit v1.2.3-70-g09d2