Lines Matching defs:urlcopy
1536 char *urlcopy;
1617 urlcopy = alloca((tptr - urlp) + sizeof("/index.html"));
1618 /*if (urlcopy == NULL)
1620 strcpy(urlcopy, urlp);
1621 /* NB: urlcopy ptr is never changed after this */
1624 tptr = strchr(urlcopy, '?');
1632 tptr = decodeString(urlcopy, 0);
1635 if (tptr == urlcopy + 1) {
1643 urlp = tptr = urlcopy;
1658 if (urlp == urlcopy) /* protect root */
1672 if (is_directory(urlcopy + 1, 1, &sb)) {
1673 found_moved_temporarily = urlcopy;
1679 bb_error_msg("url:%s", urlcopy);
1681 tptr = urlcopy;
1686 if (is_directory(urlcopy + 1, 1, &sb)) {
1688 parse_conf(urlcopy + 1, SUBDIR_PARSE);
1743 credentials = checkPerm(urlcopy, tptr);
1752 if (strcmp(bb_basename(urlcopy), httpd_conf) == 0 || ip_allowed == 0) {
1758 if (credentials <= 0 && checkPerm(urlcopy, ":") == 0) {
1767 tptr = urlcopy + 1; /* skip first '/' */
1775 send_cgi_and_exit(urlcopy, prequest, length, cookie, content_type);
1784 send_cgi_and_exit(urlcopy, prequest, length, cookie, content_type);
1808 g_query = urlcopy;