https://issues.apache.org/jira/browse/AMQ-4398 - sanitize header in stock portfolio servlet

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1459301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2013-03-21 13:25:47 +00:00
parent 148ca81dcd
commit fafd12dfd4
2 changed files with 1 additions and 3 deletions

View File

@ -68,7 +68,7 @@ public class PortfolioPublishServlet extends MessageServletSupport {
if (refreshRate == null || refreshRate.length() == 0) {
refreshRate = "1";
}
out.print(refreshRate);
out.print(escape(refreshRate));
out.println("'/></head>");
out.println("<body>Published <b>" + escape(Integer.toString(count)) + "</b> of " + escape(Integer.toString(total))
+ " price messages. Refresh = " + escape(refreshRate) + "s");

View File

@ -201,8 +201,6 @@
<transportConnector name="ssl" uri="ssl://localhost:61617"/>
<!-- Create a STOMP transport for STOMP clients. -->
<transportConnector name="stomp" uri="stomp://localhost:61613"/>
<!-- Create a XMPP transport for XMPP clients. -->
<transportConnector name="xmpp" uri="xmpp://localhost:61222"/>
<!-- Create a Websocket transport for the websocket dmeo -->
<transportConnector name="ws" uri="ws://localhost:61614/" />
</transportConnectors>