summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 34ce833a..dc88b08a 100644
--- a/cgi.c
+++ b/cgi.c
@@ -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);