diff --git a/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java b/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java index 351ff91d9b..513009cc2a 100644 --- a/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java +++ b/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java @@ -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("'/>"); out.println("Published " + escape(Integer.toString(count)) + " of " + escape(Integer.toString(total)) + " price messages. Refresh = " + escape(refreshRate) + "s"); diff --git a/assembly/src/sample-conf/activemq-demo.xml b/assembly/src/sample-conf/activemq-demo.xml index 7464081619..05a53809a7 100644 --- a/assembly/src/sample-conf/activemq-demo.xml +++ b/assembly/src/sample-conf/activemq-demo.xml @@ -201,8 +201,6 @@ - -