You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ha...@apache.org on 2014/03/20 19:43:59 UTC
[03/18] git commit: [AMQ-4813] correct the URL encoding of message
IDs. Use to format urls.
[AMQ-4813] correct the URL encoding of message IDs. Use <c:url> to format <a href> urls.
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/62f710f1
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/62f710f1
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/62f710f1
Branch: refs/heads/activemq-5.9
Commit: 62f710f11bbc76ef435f0d012bcb46af86e73612
Parents: 8b87a01
Author: artnaseef <ar...@artnaseef.com>
Authored: Thu Feb 6 11:54:40 2014 -0700
Committer: Hadrian Zbarcea <ha...@apache.org>
Committed: Thu Mar 20 13:52:55 2014 -0400
----------------------------------------------------------------------
activemq-web-console/src/main/webapp/browse.jsp | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/62f710f1/activemq-web-console/src/main/webapp/browse.jsp
----------------------------------------------------------------------
diff --git a/activemq-web-console/src/main/webapp/browse.jsp b/activemq-web-console/src/main/webapp/browse.jsp
index 628b3b9..4eb19eb 100644
--- a/activemq-web-console/src/main/webapp/browse.jsp
+++ b/activemq-web-console/src/main/webapp/browse.jsp
@@ -45,7 +45,9 @@
<tbody>
<jms:forEachMessage queueBrowser="${requestContext.queueBrowser.browser}" var="row">
<tr>
-<td><a href="message.jsp?id=${row.JMSMessageID}&JMSDestination=<c:out value="${requestContext.queueBrowser.JMSDestination}" />"
+<td><a href="<c:url value="message.jsp">
+ <c:param name="id" value="${row.JMSMessageID}" />
+ <c:param name="JMSDestination" value="${requestContext.queueBrowser.JMSDestination}"/></c:url>"
title="${row.properties}">${row.JMSMessageID}</a></td>
<td><c:out value="${row.JMSCorrelationID}"/></td>
<td><jms:persistent message="${row}"/></td>
@@ -55,7 +57,10 @@
<td><jms:formatTimestamp timestamp="${row.JMSTimestamp}"/></td>
<td><c:out value="${row.JMSType}"/></td>
<td>
- <a href="deleteMessage.action?JMSDestination=<c:out value="${requestContext.queueBrowser.JMSDestination}"/>&messageId=${row.JMSMessageID}&secret=<c:out value='${sessionScope["secret"]}'/>">Delete</a>
+ <a href="<c:url value="deleteMessage.action">
+ <c:param name="JMSDestination" value="${requestContext.queueBrowser.JMSDestination}"/>
+ <c:param name="messageId" value="${row.JMSMessageID}"/>
+ <c:param name="secret" value='${sessionScope["secret"]}'/></c:url>">Delete</a>
</td>
</tr>
</jms:forEachMessage>
@@ -70,4 +75,4 @@
</body>
</html>
-
+