<%=intl._("Share")%> |
()
@@ -121,6 +125,7 @@
<%=intl._("UDP Configuration:")%>
<%=intl._("UDP port:")%>
" />
+<% /********
+*********/ %>
<%=intl._("TCP Configuration")%>:
<%=intl._("Externally reachable hostname or IP address")%>:
@@ -163,10 +169,12 @@
<%=intl._("Most of the options above are for special situations, for example where UPnP does not work correctly, or a firewall not under your control is doing harm.")%>
<%=intl._("Certain firewalls such as symmetric NATs may not work well with I2P.")%>
+<% /********
+*********/ %>
<%=intl._("UPnP is used to communicate with Internet Gateway Devices (IGDs) to detect the external IP address and forward ports.")%>
<%=intl._("UPnP support is beta, and may not work for any number of reasons")%>:
diff --git a/apps/routerconsole/jsp/configclients.jsp b/apps/routerconsole/jsp/configclients.jsp
index 974673b31..b2f39c198 100644
--- a/apps/routerconsole/jsp/configclients.jsp
+++ b/apps/routerconsole/jsp/configclients.jsp
@@ -39,7 +39,7 @@ button span.hide{
<%=intl._("All changes require restart to take effect.")%>
" />
- <%=intl._("WebApp Configuration")%>
+ <%=intl._("WebApp Configuration")%>
<%=intl._("The Java web applications listed below are started by the webConsole client and run in the same JVM as the router. They are usually web applications accessible through the router console. They may be complete applications (e.g. i2psnark),front-ends to another client or application which must be separately enabled (e.g. susidns, i2ptunnel), or have no web interface at all (e.g. addressbook).")%>
<%=intl._("A web app may also be disabled by removing the .war file from the webapps directory; however the .war file and web app will reappear when you update your router to a newer version, so disabling the web app here is the preferred method.")%>
diff --git a/apps/routerconsole/jsp/configpeer.jsp b/apps/routerconsole/jsp/configpeer.jsp
index 8b61f274d..bd5390108 100644
--- a/apps/routerconsole/jsp/configpeer.jsp
+++ b/apps/routerconsole/jsp/configpeer.jsp
@@ -24,7 +24,7 @@
<% String peer = "";
if (request.getParameter("peer") != null)
- peer = request.getParameter("peer");
+ peer = net.i2p.data.DataHelper.stripHTML(request.getParameter("peer")); // XSS
%>
diff --git a/apps/routerconsole/jsp/nowebapp.jsp b/apps/routerconsole/jsp/nowebapp.jsp
new file mode 100644
index 000000000..f62ae6b16
--- /dev/null
+++ b/apps/routerconsole/jsp/nowebapp.jsp
@@ -0,0 +1,16 @@
+<%@page contentType="text/html"%>
+<%@page pageEncoding="UTF-8"%>
+
+<%
+ response.setStatus(404, "Not Found");
+%>
+
+<%@include file="css.jsi" %>
+<%=intl.title("WebApp Not Found")%>
+
+<%@include file="summary.jsi" %>
+<%=intl._("Web Application Not Running")%>
+
+<%=intl._("The requested web application is not running.")%>
+<%=intl._("Please visit the config clients page to start it.")%>
+
diff --git a/apps/routerconsole/jsp/profiles.jsp b/apps/routerconsole/jsp/profiles.jsp
index 035f50b5b..69100e349 100644
--- a/apps/routerconsole/jsp/profiles.jsp
+++ b/apps/routerconsole/jsp/profiles.jsp
@@ -11,6 +11,7 @@
" />
+ " />
<%=intl._("Banned Peers")%>
diff --git a/apps/routerconsole/jsp/summary.jsi b/apps/routerconsole/jsp/summary.jsi
index 10b71ae2c..fcab70132 100644
--- a/apps/routerconsole/jsp/summary.jsi
+++ b/apps/routerconsole/jsp/summary.jsi
@@ -11,7 +11,7 @@
// pass the new delay parameter to the iframe
newDelay = "?refresh=" + d;
if (!"0".equals(d))
- out.print(" |