From: Graham Leggett Date: Sat, 7 Apr 2001 20:57:05 +0000 (+0000) Subject: proxy_connect.c needs ap_parse_hostinfo_components() to decode the URI, X-Git-Tag: 2.0.17~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20b09156c9978d7d2801a1fc1ad8ba9f3eb51c0d;p=apache proxy_connect.c needs ap_parse_hostinfo_components() to decode the URI, not ap_parse_uri_components() PR: Obtained from: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88755 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_connect.c b/modules/proxy/proxy_connect.c index f3f915245e..e5958f704c 100644 --- a/modules/proxy/proxy_connect.c +++ b/modules/proxy/proxy_connect.c @@ -133,7 +133,7 @@ int ap_proxy_connect_handler(request_rec *r, char *url, */ /* we break the URL into host, port, uri */ - if (HTTP_OK != ap_parse_uri_components(p, url, &uri)) { + if (HTTP_OK != ap_parse_hostinfo_components(p, url, &uri)) { return ap_proxyerror(r, HTTP_BAD_REQUEST, apr_pstrcat(p, "URI cannot be parsed: ", url, NULL)); }