ViewVC logotype

Revision 1715206

Jump to revision: Previous Next
Author: markt
Date: Thu Nov 19 16:17:38 2015 UTC (3 years, 11 months ago)
Changed paths: 12
Log Message:
Move the functionality that provides redirects for context roots and directories where a trailing <code>/</code> is added from the Mapper to the DefaultServlet. This enables such requests to be processed by any configured Valves and Filters before the redirect is made. This behaviour is configurable via the mapperContextRootRedirectEnabled and mapperDirectoryRedirectEnabled attributes of the Context which may be used to restore the previous behaviour.
This is part 1 of 3 of the fix for CVE-2015-5345

Changed paths

Path Details
Directorytomcat/trunk/java/org/apache/catalina/Context.java modified , text changed
Directorytomcat/trunk/java/org/apache/catalina/core/StandardContext.java modified , text changed
Directorytomcat/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml modified , text changed
Directorytomcat/trunk/java/org/apache/catalina/mapper/Mapper.java modified , text changed
Directorytomcat/trunk/java/org/apache/catalina/servlets/DefaultServlet.java modified , text changed
Directorytomcat/trunk/java/org/apache/catalina/startup/FailedContext.java modified , text changed
Directorytomcat/trunk/test/org/apache/catalina/core/TesterContext.java modified , text changed
Directorytomcat/trunk/test/org/apache/catalina/mapper/TestMapperWebapps.java modified , text changed
Directorytomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java modified , text changed
Directorytomcat/trunk/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java modified , text changed
Directorytomcat/trunk/webapps/docs/changelog.xml modified , text changed
Directorytomcat/trunk/webapps/docs/config/context.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26