Updated Branches: refs/heads/trunk 04b721e3f -> ae37bb1d5
[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/4985e08e Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/4985e08e Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/4985e08e Branch: refs/heads/trunk Commit: 4985e08ea8140b787817904cb99112a48c907928 Parents: 50e4d07 Author: artnaseef <[email protected]> Authored: Thu Feb 6 11:54:40 2014 -0700 Committer: artnaseef <[email protected]> Committed: Thu Feb 6 11:54:40 2014 -0700 ---------------------------------------------------------------------- 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/4985e08e/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> - +
