summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2005-08-09 16:46:55 +0200
committerGraham Leggett <minfrin@apache.org>2005-08-09 16:46:55 +0200
commit43d07d771d069dcb1374ef8e55dd6618797b81ce (patch)
tree30daebbb9700478b5d38a938213ca8d28c018878 /modules
parent* modules/http/byterange_filter.c (ap_byterange_filter): Update some (diff)
downloadapache2-43d07d771d069dcb1374ef8e55dd6618797b81ce.tar.xz
apache2-43d07d771d069dcb1374ef8e55dd6618797b81ce.zip
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
Diffstat (limited to 'modules')
-rw-r--r--modules/proxy/mod_proxy_ftp.c3
1 files changed, 1 insertions, 2 deletions
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
"<html>\n <head>\n <title>%s%s%s</title>\n"
- " <base href=\"%s%s%s\">\n </head>\n"
+ " </head>\n"
" <body>\n <h2>Directory of "
"<a href=\"/\">%s</a>/%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),