Return to cgi.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.132, 2016/05/28 13:40:48 | version 1.133, 2016/07/09 19:58:36 | ||
---|---|---|---|
|
|
||
if (*path != '\0') { | if (*path != '\0') { | ||
parse_path_info(&req, path); | parse_path_info(&req, path); | ||
if (access(path, F_OK) == -1) | if (req.q.manpath == NULL || access(path, F_OK) == -1) | ||
path = ""; | path = ""; | ||
} else if ((querystring = getenv("QUERY_STRING")) != NULL) | } else if ((querystring = getenv("QUERY_STRING")) != NULL) | ||
parse_query_string(&req, querystring); | parse_query_string(&req, querystring); |