diff options
-rw-r--r-- | cgi.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -768,6 +768,8 @@ format(const struct req *req, const char *file) static void resp_show(const struct req *req, const char *file) { + if ('.' == file[0] || '/' == file[1]) + file += 2; if ('c' == *file) catman(req, file); |