]> granicus.if.org Git - apache/commitdiff
proxy_connect.c needs ap_parse_hostinfo_components() to decode the URI,
authorGraham Leggett <minfrin@apache.org>
Sat, 7 Apr 2001 20:57:05 +0000 (20:57 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 7 Apr 2001 20:57:05 +0000 (20:57 +0000)
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

modules/proxy/proxy_connect.c

index f3f915245e85e149876823ea270f36410b2ba0ce..e5958f704ceaca7ed3e9093ebf1ba8fb9cc05ebb 100644 (file)
@@ -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));
     }