activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1459301 - in /activemq/trunk: activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java assembly/src/sample-conf/activemq-demo.xml
Date Thu, 21 Mar 2013 13:25:47 GMT
Author: dejanb
Date: Thu Mar 21 13:25:47 2013
New Revision: 1459301

URL: http://svn.apache.org/r1459301
Log:
https://issues.apache.org/jira/browse/AMQ-4398 - sanitize header in stock portfolio servlet

Modified:
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java
    activemq/trunk/assembly/src/sample-conf/activemq-demo.xml

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java?rev=1459301&r1=1459300&r2=1459301&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java
(original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/PortfolioPublishServlet.java
Thu Mar 21 13:25:47 2013
@@ -68,7 +68,7 @@ public class PortfolioPublishServlet ext
                 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");

Modified: activemq/trunk/assembly/src/sample-conf/activemq-demo.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/sample-conf/activemq-demo.xml?rev=1459301&r1=1459300&r2=1459301&view=diff
==============================================================================
--- activemq/trunk/assembly/src/sample-conf/activemq-demo.xml (original)
+++ activemq/trunk/assembly/src/sample-conf/activemq-demo.xml Thu Mar 21 13:25:47 2013
@@ -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>



Mime
View raw message