* Jetty: Turn on checkAliases

This commit is contained in:
zzz
2010-01-29 13:55:16 +00:00
parent 0a93466999
commit 63d3685652
2 changed files with 19 additions and 8 deletions

View File

@@ -105,6 +105,12 @@ public class Router {
System.setProperty("user.timezone", "GMT");
// just in case, lets make it explicit...
TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
// https://www.kb.cert.org/vuls/id/402580
// http://docs.codehaus.org/display/JETTY/SystemProperties
// Fixed in Jetty 5.1.15 but we are running 5.1.12
// The default is true, unfortunately it was previously
// set to false in wrapper.config thru 0.7.10 so we must set it back here.
System.setProperty("Dorg.mortbay.util.FileResource.checkAliases", "true");
}
public Router() { this(null, null); }