aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index 167fd84e..812e7701 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.164 2018/12/30 00:49:54 schwarze Exp $ */
+/* $Id: cgi.c,v 1.165 2019/01/31 23:00:23 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017, 2018 Ingo Schwarze <schwarze@usta.de>
@@ -1178,7 +1178,7 @@ parse_path_info(struct req *req, const char *path)
}
/* Optional section. */
- if (strncmp(path, "man", 3) == 0) {
+ if (strncmp(path, "man", 3) == 0 || strncmp(path, "cat", 3) == 0) {
path += 3;
end = strchr(path, '/');
free(req->q.sec);