Commit da450411 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge branch '1.2.x'

parents 69b60f6d 43ed824f
......@@ -182,6 +182,7 @@ public class TomcatEmbeddedServletContainerFactory
: ClassUtils.getDefaultClassLoader());
try {
context.setUseRelativeRedirects(false);
context.setMapperContextRootRedirectEnabled(true);
}
catch (NoSuchMethodError ex) {
// Tomcat is < 8.0.30. Continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment