From: Graham Leggett Date: Tue, 9 Aug 2005 14:46:55 +0000 (+0000) Subject: Remove the base href tag from mod_proxy_ftp, as it breaks relative X-Git-Tag: 2.1.7~5^2~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43d07d771d069dcb1374ef8e55dd6618797b81ce;p=apache Remove the base href tag from mod_proxy_ftp, as it breaks relative links for clients not using an Authorization header. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231044 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 14ab18208c..20a86ba004 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.3.0 + + *) Remove the base href tag from mod_proxy_ftp, as it breaks relative + links for clients not using an Authorization header. [Graham Leggett, + Jon Snow ] + *) Teach mod_ssl to use arbitraty OIDs in an SSLRequire directive, allowing string-valued client certificate attributes to be used for access control, as in: SSLRequire "value" in OID("1.3.6.1.4.1.18060.1") diff --git a/modules/proxy/mod_proxy_ftp.c b/modules/proxy/mod_proxy_ftp.c index 2d53dea13b..1465827dfc 100644 --- a/modules/proxy/mod_proxy_ftp.c +++ b/modules/proxy/mod_proxy_ftp.c @@ -352,11 +352,10 @@ static apr_status_t proxy_send_dir_filter(ap_filter_t *f, /* print "ftp://host/" */ str = apr_psprintf(p, DOCTYPE_HTML_3_2 "\n \n %s%s%s\n" - " \n \n" + " \n" " \n

Directory of " "%s/%s", site, basedir, ap_escape_html(p, path), - site, basedir, ap_escape_uri(p, path), site, str); APR_BRIGADE_INSERT_TAIL(out, apr_bucket_pool_create(str, strlen(str),