MCPcopy Create free account
hub / github.com/apache/httpd / proxy_fixup

Function proxy_fixup

modules/proxy/mod_proxy.c:1159–1167  ·  view source on GitHub ↗

* Canonicalise the URL */

Source from the content-addressed store, hash-verified

1157 * Canonicalise the URL
1158 */
1159static int proxy_fixup(request_rec *r)
1160{
1161 if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0)
1162 return DECLINED;
1163
1164 /* XXX: Shouldn't we try this before we run the proxy_walk? */
1165
1166 return ap_proxy_canon_url(r);
1167}
1168
1169/* Send a redirection if the request contains a hostname which is not */
1170/* fully qualified, i.e. doesn't have a domain name appended. Some proxy */

Callers

nothing calls this directly

Calls 1

ap_proxy_canon_urlFunction · 0.85

Tested by

no test coverage detected