Return to cgi.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.123, 2016/04/15 00:14:17 | version 1.124, 2016/04/15 00:37:50 | ||
---|---|---|---|
|
|
||
else if (*path == '/') | else if (*path == '/') | ||
path++; | path++; | ||
if (*path != '\0' && access(path, F_OK) == -1) { | if (*path != '\0') { | ||
path_parse(&req, path); | path_parse(&req, path); | ||
path = ""; | if (access(path, F_OK) == -1) | ||
path = ""; | |||
} else if ((querystring = getenv("QUERY_STRING")) != NULL) | } else if ((querystring = getenv("QUERY_STRING")) != NULL) | ||
http_parse(&req, querystring); | http_parse(&req, querystring); | ||