PR: 28174
Reviewed by: Andr� Malo, Brad Nicholes, Jean-Jacques Clar, Paul Querna
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104215
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.51
+ *) Allow URLs for ServerAdmin. PR 28174.
+ [Paul Querna]
+
*) initialize server arrays prior to calling ap_setup_prelinked_modules
so that static modules can push Defines values when registering
hooks just like DSO modules can ["Philippe M. Chiasson" <gozer cpan.org>]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2004/07/10 04:05:51 $]
+Last modified at [$Date: 2004/07/10 04:45:22 $]
Release:
http://www.apache.org/~nd/header_always_2.0.diff
+1: nd
- *) Allow URLs for ServerAdmin. PR 28174.
- server/core.c: r1.274
- +1: nd, bnicholes, jjclar
-
*) mod_rewrite: Fix confused map cache (with maps in different VHs using
the same name). PR 26462. (2.0 + 1.3)
A patch for 1.3 is here (2.0 goes similar):
if (conf->server_signature == srv_sig_withmail) {
return apr_pstrcat(r->pool, prefix, "<address>",
ap_get_server_version(),
- " Server at <a href=\"mailto:",
- r->server->server_admin, "\">",
+ " Server at <a href=\"",
+ ap_is_url(r->server->server_admin) ? "" : "mailto:",
+ ap_escape_html(r->pool, r->server->server_admin),
+ "\">",
ap_escape_html(r->pool, ap_get_server_name(r)),
"</a> Port ", sport,
"</address>\n", NULL);