Commit 2b3d4663 authored by Victor J. Orlikowski's avatar Victor J. Orlikowski
Browse files

Bletch. The Proxy Janitor botches the job again.

Thanks to Ian Holsman for the catch.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89210 13f79535-47bb-0310-9956-ffa450edef68
parent 7b390814
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ static int proxy_needsdomain(request_rec *r, const char *url, const char *domain
    apr_table_set(r->headers_out, "Location", nuri);
    ap_log_rerror(APLOG_MARK, APLOG_INFO|APLOG_NOERRNO, 0, r,
		"Domain missing: %s sent to %s%s%s", r->uri,
		ap_uri_unparse_components(r->pool, &r->parsed_uri,
		apr_uri_unparse_components(r->pool, &r->parsed_uri,
		      UNP_OMITUSERINFO),
		ref ? " from " : "", ref ? ref : "");

+2 −2
Original line number Diff line number Diff line
@@ -510,12 +510,12 @@ static int ftp_unauthorized (request_rec *r, int log_it)
    if (log_it)
	ap_log_rerror(APLOG_MARK, APLOG_INFO|APLOG_NOERRNO, 0, r,
		      "proxy: missing or failed auth to %s",
		      ap_uri_unparse_components(r->pool,
		      apr_uri_unparse_components(r->pool,
		      &r->parsed_uri, UNP_OMITPATHINFO));

    apr_table_setn(r->err_headers_out, "WWW-Authenticate",
                  apr_pstrcat(r->pool, "Basic realm=\"",
		  ap_uri_unparse_components(r->pool, &r->parsed_uri,
		  apr_uri_unparse_components(r->pool, &r->parsed_uri,
		    UNP_OMITPASSWORD|UNP_OMITPATHINFO),
		    "\"", NULL));

+1 −1
Original line number Diff line number Diff line
@@ -252,7 +252,7 @@ int ap_proxy_http_handler(request_rec *r, proxy_server_conf *conf,
     */

    /* we break the URL into host, port, uri */
    if (HTTP_OK != ap_uri_parse_components(p, url, &uri)) {
    if (HTTP_OK != apr_uri_parse_components(p, url, &uri)) {
	return ap_proxyerror(r, HTTP_BAD_REQUEST,
			     apr_pstrcat(p,"URI cannot be parsed: ", url, NULL));
    }