You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2014/05/11 01:43:49 UTC
svn commit: r1593745 - in /httpd/httpd/trunk: CHANGES
modules/mappers/mod_alias.c
Author: covener
Date: Sat May 10 23:43:48 2014
New Revision: 1593745
URL: http://svn.apache.org/r1593745
Log:
stop setting context info for AliasMatch. These concepts do not really map
well/reliably to AliasMatch.
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/modules/mappers/mod_alias.c
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1593745&r1=1593744&r2=1593745&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Sat May 10 23:43:48 2014
@@ -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]
Modified: httpd/httpd/trunk/modules/mappers/mod_alias.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_alias.c?rev=1593745&r1=1593744&r2=1593745&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_alias.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_alias.c Sat May 10 23:43:48 2014
@@ -370,13 +370,6 @@ static char *try_alias_list(request_rec
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)