* Canonicalise the URL */
| 1157 | * Canonicalise the URL |
| 1158 | */ |
| 1159 | static 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 */ |
nothing calls this directly
no test coverage detected