forked from I2P_Developers/i2p.i2p
* Jetty: Turn on checkAliases
This commit is contained in:
@@ -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); }
|
||||
|
Reference in New Issue
Block a user