Commit 61874e58 authored by Graham Leggett's avatar Graham Leggett
Browse files

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
parent 288eb3cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
    }