* Console:

- Fix NPE after restart (ticket #763)
   - Move more nonces out of system properties
This commit is contained in:
zzz
2012-11-05 17:17:31 +00:00
parent 202c92a42d
commit d5c70676b0
10 changed files with 37 additions and 38 deletions

View File

@@ -8,11 +8,7 @@
<%@include file="summaryajax.jsi" %>
</head><body onload="initAjax()">
<%
String consoleNonce = System.getProperty("router.consoleNonce");
if (consoleNonce == null) {
consoleNonce = Long.toString(new java.util.Random().nextLong());
System.setProperty("router.consoleNonce", consoleNonce);
}
String consoleNonce = intl.getNonce();
%>
<jsp:useBean class="net.i2p.router.web.NewsHelper" id="newshelper" scope="request" />
<jsp:setProperty name="newshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />