Changeset 07162b5


Ignore:
Timestamp:
Dec 25, 2011 10:37:30 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
be7623a4
Parents:
ec7ec56
Message:

escape quotation marks in jsp files

The routerconsole's precompilejsp target failed when using the jetty packages
from Debian. These escaped jsp files also work with 'our' jetty6 (and jetty6).

Location:
apps/routerconsole/jsp
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/config.jsp

    rec7ec56 r07162b5  
    1111
    1212<jsp:useBean class="net.i2p.router.web.ConfigNetHelper" id="nethelper" scope="request" />
    13 <jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     13<jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1414<h1><%=intl._("I2P Bandwidth Configuration")%></h1>
    1515<div class="main" id="main">
     
    1919 <% formhandler.storeMethod(request.getMethod()); %>
    2020 <jsp:setProperty name="formhandler" property="*" />
    21  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     21 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2222 <jsp:getProperty name="formhandler" property="allMessages" />
    2323<div class="configure">
  • apps/routerconsole/jsp/configadvanced.jsp

    rec7ec56 r07162b5  
    1111
    1212<jsp:useBean class="net.i2p.router.web.ConfigAdvancedHelper" id="advancedhelper" scope="request" />
    13 <jsp:setProperty name="advancedhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     13<jsp:setProperty name="advancedhelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1414
    1515<h1><%=intl._("I2P Advanced Configuration")%></h1>
     
    2121 <% formhandler.storeMethod(request.getMethod()); %>
    2222 <jsp:setProperty name="formhandler" property="*" />
    23  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     23 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2424 <jsp:getProperty name="formhandler" property="allMessages" />
    2525 <div class="configure">
  • apps/routerconsole/jsp/configclients.jsp

    rec7ec56 r07162b5  
    1515
    1616<jsp:useBean class="net.i2p.router.web.ConfigClientsHelper" id="clientshelper" scope="request" />
    17 <jsp:setProperty name="clientshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    18 <jsp:setProperty name="clientshelper" property="edit" value="<%=request.getParameter("edit")%>" />
     17<jsp:setProperty name="clientshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
     18<jsp:setProperty name="clientshelper" property="edit" value="<%=request.getParameter(\"edit\")%>" />
    1919<h1><%=intl._("I2P Client Configuration")%></h1>
    2020<div class="main" id="main">
     
    2323 <jsp:useBean class="net.i2p.router.web.ConfigClientsHandler" id="formhandler" scope="request" />
    2424 <% formhandler.storeMethod(request.getMethod()); %>
    25  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    26  <jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter("action")%>" />
    27  <jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter("nonce")%>" />
     25 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
     26 <jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter(\"action\")%>" />
     27 <jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter(\"nonce\")%>" />
    2828 <jsp:setProperty name="formhandler" property="settings" value="<%=request.getParameterMap()%>" />
    2929 <jsp:getProperty name="formhandler" property="allMessages" />
  • apps/routerconsole/jsp/configkeyring.jsp

    rec7ec56 r07162b5  
    1616 <% formhandler.storeMethod(request.getMethod()); %>
    1717 <jsp:setProperty name="formhandler" property="*" />
    18  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     18 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1919 <jsp:getProperty name="formhandler" property="allMessages" />
    2020 <jsp:useBean class="net.i2p.router.web.ConfigKeyringHelper" id="keyringhelper" scope="request" />
    21  <jsp:setProperty name="keyringhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     21 <jsp:setProperty name="keyringhelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2222<div class="configure"><h2><%=intl._("Keyring")%></h2><p>
    2323 <%=intl._("The router keyring is used to decrypt encrypted leaseSets.")%>
  • apps/routerconsole/jsp/configlogging.jsp

    rec7ec56 r07162b5  
    88</head><body>
    99<jsp:useBean class="net.i2p.router.web.ConfigLoggingHelper" id="logginghelper" scope="request" />
    10 <jsp:setProperty name="logginghelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     10<jsp:setProperty name="logginghelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1111
    1212<%@include file="summary.jsi" %>
     
    1818 <% formhandler.storeMethod(request.getMethod()); %>
    1919 <jsp:setProperty name="formhandler" property="*" />
    20  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     20 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2121 <jsp:getProperty name="formhandler" property="allMessages" />
    2222<div class="configure">
  • apps/routerconsole/jsp/confignav.jsi

    rec7ec56 r07162b5  
    55%>
    66<jsp:useBean class="net.i2p.router.web.ConfigNavHelper" id="navHelper" scope="request" />
    7 <jsp:setProperty name="navHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     7<jsp:setProperty name="navHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    88<% navHelper.storeWriter(out); %>
    99<div class="confignav" id="confignav">
  • apps/routerconsole/jsp/confignet.jsp

    rec7ec56 r07162b5  
    1111
    1212<jsp:useBean class="net.i2p.router.web.ConfigNetHelper" id="nethelper" scope="request" />
    13 <jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     13<jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1414<h1><%=intl._("I2P Network Configuration")%></h1>
    1515<div class="main" id="main">
     
    1919 <% formhandler.storeMethod(request.getMethod()); %>
    2020 <jsp:setProperty name="formhandler" property="*" />
    21  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     21 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2222 <jsp:getProperty name="formhandler" property="allMessages" />
    2323<div class="configure">
  • apps/routerconsole/jsp/configpeer.jsp

    rec7ec56 r07162b5  
    1616 <% formhandler.storeMethod(request.getMethod()); %>
    1717 <jsp:setProperty name="formhandler" property="*" />
    18  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     18 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1919 <jsp:getProperty name="formhandler" property="allMessages" />
    2020
     
    2222
    2323 <jsp:useBean class="net.i2p.router.web.ConfigPeerHelper" id="peerhelper" scope="request" />
    24  <jsp:setProperty name="peerhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     24 <jsp:setProperty name="peerhelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2525
    2626 <% String peer = "";
     
    6262 <a name="shitlist"> </a><h2><%=intl._("Banned Peers")%></h2>
    6363 <jsp:useBean class="net.i2p.router.web.ProfilesHelper" id="profilesHelper" scope="request" />
    64  <jsp:setProperty name="profilesHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     64 <jsp:setProperty name="profilesHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    6565 <% profilesHelper.storeWriter(out); %>
    6666 <jsp:getProperty name="profilesHelper" property="shitlistSummary" />
  • apps/routerconsole/jsp/configreseed.jsp

    rec7ec56 r07162b5  
    1111
    1212<jsp:useBean class="net.i2p.router.web.ConfigReseedHelper" id="reseedHelper" scope="request" />
    13 <jsp:setProperty name="reseedHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     13<jsp:setProperty name="reseedHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1414<h1><%=intl._("I2P Reseeding Configuration")%></h1>
    1515<div class="main" id="main">
     
    1818<jsp:useBean class="net.i2p.router.web.ConfigReseedHandler" id="formhandler" scope="request" />
    1919<% formhandler.storeMethod(request.getMethod()); %>
    20 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    21 <jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter("action")%>" />
    22 <jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter("nonce")%>" />
     20<jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
     21<jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter(\"action\")%>" />
     22<jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter(\"nonce\")%>" />
    2323<jsp:setProperty name="formhandler" property="settings" value="<%=request.getParameterMap()%>" />
    2424<jsp:getProperty name="formhandler" property="allMessages" />
  • apps/routerconsole/jsp/configservice.jsp

    rec7ec56 r07162b5  
    1616 <% formhandler.storeMethod(request.getMethod()); %>
    1717 <jsp:setProperty name="formhandler" property="*" />
    18  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     18 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1919 <jsp:getProperty name="formhandler" property="allMessages" />
    2020 <div class="configure">
  • apps/routerconsole/jsp/configstats.jsp

    rec7ec56 r07162b5  
    6565 <% formhandler.storeMethod(request.getMethod()); %>
    6666 <jsp:setProperty name="formhandler" property="*" />
    67  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     67 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    6868 <jsp:getProperty name="formhandler" property="allMessages" />
    6969
    7070 <jsp:useBean class="net.i2p.router.web.ConfigStatsHelper" id="statshelper" scope="request" />
    71  <jsp:setProperty name="statshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     71 <jsp:setProperty name="statshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    7272 <div class="configure">
    7373 <form id="statsForm" name="statsForm" action="" method="POST">
  • apps/routerconsole/jsp/configtunnels.jsp

    rec7ec56 r07162b5  
    1111
    1212<jsp:useBean class="net.i2p.router.web.ConfigTunnelsHelper" id="tunnelshelper" scope="request" />
    13 <jsp:setProperty name="tunnelshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     13<jsp:setProperty name="tunnelshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1414<h1><%=intl._("I2P Tunnel Configuration")%></h1>
    1515<div class="main" id="main">
     
    1717 <jsp:useBean class="net.i2p.router.web.ConfigTunnelsHandler" id="formhandler" scope="request" />
    1818 <% formhandler.storeMethod(request.getMethod()); %>
    19  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    20  <jsp:setProperty name="formhandler" property="shouldsave" value="<%=request.getParameter("shouldsave")%>" />
    21  <jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter("action")%>" />
    22  <jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter("nonce")%>" />
     19 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
     20 <jsp:setProperty name="formhandler" property="shouldsave" value="<%=request.getParameter(\"shouldsave\")%>" />
     21 <jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter(\"action\")%>" />
     22 <jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter(\"nonce\")%>" />
    2323 <jsp:setProperty name="formhandler" property="settings" value="<%=request.getParameterMap()%>" />
    2424 <jsp:getProperty name="formhandler" property="allMessages" />
  • apps/routerconsole/jsp/configui.jsp

    rec7ec56 r07162b5  
    1111
    1212<jsp:useBean class="net.i2p.router.web.ConfigUIHelper" id="uihelper" scope="request" />
    13 <jsp:setProperty name="uihelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     13<jsp:setProperty name="uihelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1414
    1515<h1><%=uihelper._("I2P UI Configuration")%></h1>
     
    2121 <% formhandler.storeMethod(request.getMethod()); %>
    2222 <jsp:setProperty name="formhandler" property="*" />
    23  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     23 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2424 <jsp:getProperty name="formhandler" property="allMessages" />
    2525<div class="configure"><div class="topshimten"><h3><%=uihelper._("Router Console Theme")%></h3></div>
  • apps/routerconsole/jsp/configupdate.jsp

    rec7ec56 r07162b5  
    1616 <% formhandler.storeMethod(request.getMethod()); %>
    1717 <jsp:setProperty name="formhandler" property="*" />
    18  <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     18 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1919 <jsp:getProperty name="formhandler" property="allMessages" />
    2020 <jsp:useBean class="net.i2p.router.web.ConfigUpdateHelper" id="updatehelper" scope="request" />
    21  <jsp:setProperty name="updatehelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     21 <jsp:setProperty name="updatehelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2222<div class="messages">
    2323 <jsp:getProperty name="updatehelper" property="newsStatus" /></div>
  • apps/routerconsole/jsp/css.jsi

    rec7ec56 r07162b5  
    2828<link rel="shortcut icon" href="/themes/console/images/favicon.ico">
    2929<jsp:useBean class="net.i2p.router.web.CSSHelper" id="intl" scope="request" />
    30 <jsp:setProperty name="intl" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     30<jsp:setProperty name="intl" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    3131<%
    3232   String conNonceParam = request.getParameter("consoleNonce");
  • apps/routerconsole/jsp/dumpprofile.jsp

    rec7ec56 r07162b5  
    11<%@page contentType="text/plain"
    22%><jsp:useBean id="helper" class="net.i2p.router.web.StatHelper"
    3 /><jsp:setProperty name="helper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>"
    4 /><jsp:setProperty name="helper" property="peer" value="<%=net.i2p.data.DataHelper.stripHTML(request.getParameter("peer"))%>"
     3/><jsp:setProperty name="helper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>"
     4/><jsp:setProperty name="helper" property="peer" value="<%=net.i2p.data.DataHelper.stripHTML(request.getParameter(\"peer\"))%>"
    55/><% helper.storeWriter(out);
    66%><jsp:getProperty name="helper" property="profile" />
  • apps/routerconsole/jsp/graphs.jsp

    rec7ec56 r07162b5  
    88 <jsp:useBean class="net.i2p.router.web.GraphHelper" id="graphHelper" scope="request" />
    99 <% graphHelper.storeMethod(request.getMethod()); %>
    10  <jsp:setProperty name="graphHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     10 <jsp:setProperty name="graphHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1111<% /* GraphHelper sets the defaults in setContextId, so setting the properties must be after the context */ %>
    1212 <jsp:setProperty name="graphHelper" property="*" />
  • apps/routerconsole/jsp/index.jsp

    rec7ec56 r07162b5  
    1818<div class="news" id="news">
    1919 <jsp:useBean class="net.i2p.router.web.NewsHelper" id="newshelper" scope="request" />
    20  <jsp:setProperty name="newshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     20 <jsp:setProperty name="newshelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2121<%
    2222   if (newshelper.shouldShowNews()) {
     
    3131%>
    3232 <jsp:useBean class="net.i2p.router.web.ConfigUpdateHelper" id="updatehelper" scope="request" />
    33  <jsp:setProperty name="updatehelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     33 <jsp:setProperty name="updatehelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    3434 <jsp:getProperty name="updatehelper" property="newsStatus" /><br>
    3535</div><div class="main" id="main">
     
    6060 <jsp:setProperty name="contenthelper" property="page" value="<%=fpath.getAbsolutePath()%>" />
    6161 <jsp:setProperty name="contenthelper" property="maxLines" value="300" />
    62  <jsp:setProperty name="contenthelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     62 <jsp:setProperty name="contenthelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    6363 <jsp:getProperty name="contenthelper" property="content" />
    6464</div></body></html>
  • apps/routerconsole/jsp/jobs.jsp

    rec7ec56 r07162b5  
    1010<div class="main" id="main">
    1111 <jsp:useBean class="net.i2p.router.web.JobQueueHelper" id="jobQueueHelper" scope="request" />
    12  <jsp:setProperty name="jobQueueHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     12 <jsp:setProperty name="jobQueueHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1313 <% jobQueueHelper.storeWriter(out); %>
    1414 <jsp:getProperty name="jobQueueHelper" property="jobQueueSummary" />
  • apps/routerconsole/jsp/logs.jsp

    rec7ec56 r07162b5  
    2323<b>Wrapper version:</b> <%=System.getProperty("wrapper.version", "none")%><br>
    2424 <jsp:useBean class="net.i2p.router.web.LogsHelper" id="logsHelper" scope="request" />
    25  <jsp:setProperty name="logsHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     25 <jsp:setProperty name="logsHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2626<b>Server version:</b> <jsp:getProperty name="logsHelper" property="jettyVersion" /><br>
    2727<b>Platform:</b> <%=System.getProperty("os.name")%> <%=System.getProperty("os.arch")%> <%=System.getProperty("os.version")%><br>
  • apps/routerconsole/jsp/netdb.jsp

    rec7ec56 r07162b5  
    1212 <div class="wideload">
    1313 <jsp:useBean class="net.i2p.router.web.NetDbHelper" id="netdbHelper" scope="request" />
    14  <jsp:setProperty name="netdbHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     14 <jsp:setProperty name="netdbHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1515 <% netdbHelper.storeWriter(out); %>
    16  <jsp:setProperty name="netdbHelper" property="full" value="<%=request.getParameter("f")%>" />
    17  <jsp:setProperty name="netdbHelper" property="router" value="<%=request.getParameter("r")%>" />
    18  <jsp:setProperty name="netdbHelper" property="lease" value="<%=request.getParameter("l")%>" />
     16 <jsp:setProperty name="netdbHelper" property="full" value="<%=request.getParameter(\"f\")%>" />
     17 <jsp:setProperty name="netdbHelper" property="router" value="<%=request.getParameter(\"r\")%>" />
     18 <jsp:setProperty name="netdbHelper" property="lease" value="<%=request.getParameter(\"l\")%>" />
    1919 <jsp:getProperty name="netdbHelper" property="netDbSummary" />
    2020</div></div></body></html>
  • apps/routerconsole/jsp/oldconsole.jsp

    rec7ec56 r07162b5  
    1212<%@include file="summary.jsi" %>
    1313<jsp:useBean class="net.i2p.router.web.OldConsoleHelper" id="conhelper" scope="request" />
    14 <jsp:setProperty name="conhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     14<jsp:setProperty name="conhelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1515<% conhelper.storeWriter(out); %>
    1616 <h1>I2P Router &raquo; Old Console</h1>
  • apps/routerconsole/jsp/peers.jsp

    rec7ec56 r07162b5  
    1111<div class="main" id="main"><div class="wideload">
    1212 <jsp:useBean class="net.i2p.router.web.PeerHelper" id="peerHelper" scope="request" />
    13  <jsp:setProperty name="peerHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     13 <jsp:setProperty name="peerHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1414 <% peerHelper.storeWriter(out); %>
    1515 <jsp:setProperty name="peerHelper" property="urlBase" value="peers.jsp" />
    16  <jsp:setProperty name="peerHelper" property="sort" value="<%=request.getParameter("sort") != null ? request.getParameter("sort") : ""%>" />
     16 <jsp:setProperty name="peerHelper" property="sort" value="<%=request.getParameter(\"sort\") != null ? request.getParameter(\"sort\") : \"\"%>" />
    1717 <jsp:getProperty name="peerHelper" property="peerSummary" />
    1818</div></div></body></html>
  • apps/routerconsole/jsp/profiles.jsp

    rec7ec56 r07162b5  
    1010<div class="main" id="main"><div class="wideload">
    1111 <jsp:useBean class="net.i2p.router.web.ProfilesHelper" id="profilesHelper" scope="request" />
    12  <jsp:setProperty name="profilesHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     12 <jsp:setProperty name="profilesHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1313 <% profilesHelper.storeWriter(out); %>
    14  <jsp:setProperty name="profilesHelper" property="full" value="<%=request.getParameter("f")%>" />
     14 <jsp:setProperty name="profilesHelper" property="full" value="<%=request.getParameter(\"f\")%>" />
    1515 <jsp:getProperty name="profilesHelper" property="profileSummary" />
    1616 <a name="shitlist"> </a><h2><%=intl._("Banned Peers")%></h2>
  • apps/routerconsole/jsp/stats.jsp

    rec7ec56 r07162b5  
    99<%@include file="summary.jsi" %>
    1010<jsp:useBean class="net.i2p.router.web.OldConsoleHelper" id="oldhelper" scope="request" />
    11 <jsp:setProperty name="oldhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     11<jsp:setProperty name="oldhelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1212<% oldhelper.storeWriter(out); %>
    13 <jsp:setProperty name="oldhelper" property="full" value="<%=request.getParameter("f")%>" />
     13<jsp:setProperty name="oldhelper" property="full" value="<%=request.getParameter(\"f\")%>" />
    1414 <h1><%=intl._("I2P Router Statistics")%></h1>
    1515<div class="main" id="main">
  • apps/routerconsole/jsp/summarynoframe.jsi

    rec7ec56 r07162b5  
    77%>
    88<jsp:useBean class="net.i2p.router.web.SummaryHelper" id="helper" scope="request" />
    9 <jsp:setProperty name="helper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
    10 <jsp:setProperty name="helper" property="action" value="<%=request.getParameter("action")%>" />
    11 <jsp:setProperty name="helper" property="updateNonce" value="<%=request.getParameter("updateNonce")%>" />
    12 <jsp:setProperty name="helper" property="consoleNonce" value="<%=request.getParameter("consoleNonce")%>" />
     9<jsp:setProperty name="helper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
     10<jsp:setProperty name="helper" property="action" value="<%=request.getParameter(\"action\")%>" />
     11<jsp:setProperty name="helper" property="updateNonce" value="<%=request.getParameter(\"updateNonce\")%>" />
     12<jsp:setProperty name="helper" property="consoleNonce" value="<%=request.getParameter(\"consoleNonce\")%>" />
    1313<jsp:setProperty name="helper" property="requestURI" value="<%=request.getRequestURI()%>" />
    1414<% helper.storeWriter(out); %>
     
    2929<jsp:useBean class="net.i2p.router.web.UpdateHandler" id="update" scope="request" />
    3030<jsp:setProperty name="update" property="*" />
    31 <jsp:setProperty name="update" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     31<jsp:setProperty name="update" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    3232<%
    3333    // moved to java for ease of translation and to avoid 30 copies
  • apps/routerconsole/jsp/tunnels.jsp

    rec7ec56 r07162b5  
    1010<div class="main" id="main">
    1111 <jsp:useBean class="net.i2p.router.web.TunnelHelper" id="tunnelHelper" scope="request" />
    12  <jsp:setProperty name="tunnelHelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     12 <jsp:setProperty name="tunnelHelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    1313 <% tunnelHelper.storeWriter(out); %>
    1414 <jsp:getProperty name="tunnelHelper" property="tunnelSummary" />
  • apps/routerconsole/jsp/viewprofile.jsp

    rec7ec56 r07162b5  
    1818%>
    1919<jsp:useBean id="stathelper" class="net.i2p.router.web.StatHelper" />
    20 <jsp:setProperty name="stathelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
     20<jsp:setProperty name="stathelper" property="contextId" value="<%=(String)session.getAttribute(\"i2p.contextId\")%>" />
    2121<jsp:setProperty name="stathelper" property="peer" value="<%=peerB64%>" />
    2222<% stathelper.storeWriter(out); %>
Note: See TracChangeset for help on using the changeset viewer.