about: always ensure page has a trailing slash

Otherwise we can't easily embed links to other /about/ pages.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
这个提交包含在:
Jason A. Donenfeld
2015-08-12 14:50:09 +02:00
父节点 13c2d3df04
当前提交 d7034806a4
修改 5 个文件,包含 26 行新增2 行删除

3
cgit.c
查看文件

@@ -742,6 +742,9 @@ static void process_request(void)
if (ctx.repo && prepare_repo_cmd())
return;
if (cmd->pre)
cmd->pre();
if (cmd->want_layout) {
cgit_print_http_headers();
cgit_print_docstart();