Lines Matching refs:location
223 char *location; in main() local
225 location = getenv("REQUEST_URI"); in main()
226 if (!location) in main()
230 strchrnul(location, '?')[0] = '\0'; in main() local
232 if (location[0] != '/' in main()
233 || strstr(location, "//") in main()
234 || strstr(location, "/../") in main()
235 || strcmp(strrchr(location, '/'), "/..") == 0 in main()
241 || (location[1] && chdir(location + 1)) in main()
278 fmt_html(location); in main()
285 fmt_html(location); in main()