Searched refs:redirurl (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/usr.bin/ftp/ |
| D | fetch.c | 310 char *epath, *redirurl, *loctail, *h, *p, gerror[200]; in url_get() local 938 if (asprintf(&redirurl, "%s%s%s%s/%s%s", in url_get() 948 } else if ((redirurl = strdup(cp)) == NULL) in url_get() 950 loctail = strchr(redirurl, '#'); in url_get() 955 if (stravis(&visbuf, redirurl, VIS_SAFE) == -1) in url_get() 961 rval = url_get(redirurl, proxyenv, savefile, lastfile); in url_get() 962 free(redirurl); in url_get()
|
| /openbsd/src/usr.sbin/rpki-client/ |
| D | http.c | 1364 char *cp, *redirurl; in http_parse_header() local 1411 if (asprintf(&redirurl, "%.*s/%s%s", in http_parse_header() 1416 } else if ((redirurl = strdup(cp)) == NULL) in http_parse_header() 1418 loctail = strchr(redirurl, '#'); in http_parse_header() 1421 conn->redir_uri = redirurl; in http_parse_header() 1422 if (!valid_origin(redirurl, conn->req->uri)) { in http_parse_header() 1424 http_info(redirurl)); in http_parse_header()
|