Skip to content

Commit 58c09b6

Browse files
committed
Fix the issue that meant the work-around for BZ 58660 would not work.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1716860 13f79535-47bb-0310-9956-ffa450edef68
1 parent d619b29 commit 58c09b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/org/apache/catalina/connector/MapperListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ private void registerContext(Context context) {
384384

385385
mapper.addContextVersion(host.getName(), host, contextPath,
386386
context.getWebappVersion(), context, welcomeFiles, resources,
387-
wrappers);
387+
wrappers, context.getMapperContextRootRedirectEnabled(),
388+
context.getMapperDirectoryRedirectEnabled());
388389

389390
if(log.isDebugEnabled()) {
390391
log.debug(sm.getString("mapperListener.registerContext",

0 commit comments

Comments
 (0)