tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1721889 - /tomcat/tc7.0.x/trunk/test/org/apache/tomcat/util/http/mapper/TestMapperWebapps.java
Date Mon, 28 Dec 2015 09:05:54 GMT
Author: markt
Date: Mon Dec 28 09:05:54 2015
New Revision: 1721889

URL: http://svn.apache.org/viewvc?rev=1721889&view=rev
Log:
Fix test broken by default change in r1721883

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/tomcat/util/http/mapper/TestMapperWebapps.java

Modified: tomcat/tc7.0.x/trunk/test/org/apache/tomcat/util/http/mapper/TestMapperWebapps.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/tomcat/util/http/mapper/TestMapperWebapps.java?rev=1721889&r1=1721888&r2=1721889&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/tomcat/util/http/mapper/TestMapperWebapps.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/tomcat/util/http/mapper/TestMapperWebapps.java Mon
Dec 28 09:05:54 2015
@@ -253,6 +253,7 @@ public class TestMapperWebapps extends T
             File examplesDir = new File(getBuildDirectory(), "webapps/examples");
             org.apache.catalina.Context examples  = tomcat.addWebapp(
                     null, "/examples", examplesDir.getAbsolutePath());
+            examples.setMapperContextRootRedirectEnabled(false);
             // Then block access to the examples to test redirection
             RemoteAddrValve rav = new RemoteAddrValve();
             rav.setDeny(".*");



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message