From 8b7d9aa14281bad40c11a446f3a617296d46d1dc Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sat, 10 May 2014 23:43:48 +0000 Subject: [PATCH] stop setting context info for AliasMatch. These concepts do not really map well/reliably to AliasMatch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1593745 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/mappers/mod_alias.c | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CHANGES b/CHANGES index 58bcb44b20..521d811aca 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) mod_alias: Stop setting CONTEXT_PREFIX and CONTEXT_DOCUMENT environment + variables as a result of AliasMatch. [Eric Covener] + *) mod_proxy_fcgi: Fix occasional high CPU when handling request bodies. [Jeff Trawick] diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c index 31d2b70094..dfba13320e 100644 --- a/modules/mappers/mod_alias.c +++ b/modules/mappers/mod_alias.c @@ -370,13 +370,6 @@ static char *try_alias_list(request_rec *r, apr_array_header_t *aliases, uri.fragment, NULL); } } - else { - ap_set_context_info(r, - apr_pstrmemdup(r->pool, r->uri, - regm[0].rm_eo), - apr_pstrmemdup(r->pool, found, - strlen(found))); - } } else { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00672) -- 2.40.0