activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject activemq git commit: https://issues.apache.org/jira/browse/AMQ-5033 - revert changes to the rss and atom feed links, as c:url doesn't escape value
Date Wed, 10 Dec 2014 11:06:14 GMT
Repository: activemq
Updated Branches:
  refs/heads/trunk 90afa2454 -> 994d9b26a


https://issues.apache.org/jira/browse/AMQ-5033 - revert changes to the rss and atom feed links,
as c:url doesn't escape value


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/994d9b26
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/994d9b26
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/994d9b26

Branch: refs/heads/trunk
Commit: 994d9b26a05685bf075a74645be1732b77493468
Parents: 90afa24
Author: Dejan Bosanac <dejan@nighttale.net>
Authored: Wed Dec 10 12:05:10 2014 +0100
Committer: Dejan Bosanac <dejan@nighttale.net>
Committed: Wed Dec 10 12:05:28 2014 +0100

----------------------------------------------------------------------
 activemq-web-console/src/main/webapp/queues.jsp | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/994d9b26/activemq-web-console/src/main/webapp/queues.jsp
----------------------------------------------------------------------
diff --git a/activemq-web-console/src/main/webapp/queues.jsp b/activemq-web-console/src/main/webapp/queues.jsp
index 86e5772..7c23c24 100644
--- a/activemq-web-console/src/main/webapp/queues.jsp
+++ b/activemq-web-console/src/main/webapp/queues.jsp
@@ -68,14 +68,8 @@
 	                <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active
Consumers</a><br/>
 	<a href="<c:url value="queueProducers.jsp">
 	                <c:param name="JMSDestination" value="${row.name}" /></c:url>">Active
Producers</a><br/>
-    <a href="<c:url value="queueBrowse/${row.name}">
-                    <c:param name="view" value="rss" />
-                    <c:param name="feedType" value="atom_1.0" />
-                     </c:url>" title="Atom 1.0"><img src="<c:url value="images/feed_atom.png"
/>" /></a>
-    <a href="<c:url value="queueBrowse/${row.name}">
-                    <c:param name="view" value="rss" />
-                    <c:param name="feedType" value="rss_2.0" />
-                    </c:url>" title="RSS 2.0"><img src="<c:url value="images/feed_rss.png"
/>" /></a>
+    <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=atom_1.0"
title="Atom 1.0"><img src="images/feed_atom.png"/></a>
+    <a href="queueBrowse/<form:escape text="${row.name}" />?view=rss&feedType=rss_2.0"
title="RSS 2.0"><img src="images/feed_rss.png"/></a>
 </td>
 <td>
     <a href="<c:url value="send.jsp">


Mime
View raw message