http_path
: desc->http_path;
if ((encodedpath = url_encode(desc->http_path)) == NULL)
if (asprintf(&newpath, "%s%s", desc->http_path,
desc->http_path_alias : desc->http_path,
errstr = desc->http_path;
desc->http_path_alias : desc->http_path;
stripped = server_root_strip(desc->http_path, srv_conf->strip);
if ((escapedpath = escape_html(desc->http_path)) == NULL)
server_abort_http(clt, code, desc->http_path);
free(desc->http_path);
desc->http_path = NULL;
if ((path = url_encode(desc->http_path)) == NULL)
if ((path = url_encode(desc->http_path)) == NULL)
if (desc->http_path == NULL ||
(desc->http_path_orig = strdup(desc->http_path)) == NULL)
if (url_decode(desc->http_path) == NULL)
if (canonicalize_path(desc->http_path, path, sizeof(path)) == NULL)
free(desc->http_path);
if ((desc->http_path = strdup(path)) == NULL)
if ((srv_conf = server_getlocation(clt, desc->http_path)) == NULL) {
server_abort_http(clt, 500, desc->http_path);
desc->http_path, desc->http_query ? desc->http_query : "",
if (desc->http_path &&
(path = url_encode(desc->http_path)) == NULL)
desc->http_path == NULL ? "" : path,
if (desc->http_path &&
(path = url_encode(desc->http_path)) == NULL)
desc->http_path == NULL ? "" : path,
if (desc->http_path &&
(path = url_encode(desc->http_path)) == NULL)
desc->http_path == NULL ? "" : path);
desc->http_path = strdup(value);
if (desc->http_path == NULL)
http_version = strchr(desc->http_path, ' ');
query = strchr(desc->http_path, '?');
relay_bufferevent_print(dst, desc->http_path) == -1 ||
else if (fnmatch(kv->kv_key, desc->http_path, 0) == FNM_NOMATCH)
free(desc->http_path);
desc->http_path = NULL;
desc->http_path = strdup(value);
if (desc->http_path == NULL)
desc->http_version = strchr(desc->http_path, ' ');
desc->http_query = strchr(desc->http_path, '?');
if (parse_url(desc->http_path,
if (desc->http_path == NULL)
__func__, host, desc->http_path,
if ((pp = strdup(desc->http_path)) == NULL) {