You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2021/04/08 04:55:46 UTC
[activemq] branch activemq-5.15.x updated: fix
org.apache.commons.lang.StringEscapeUtils cannot be resolved to a type
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch activemq-5.15.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-5.15.x by this push:
new 8db4f07 fix org.apache.commons.lang.StringEscapeUtils cannot be resolved to a type
8db4f07 is described below
commit 8db4f0762a4bdcc5d8242c56584ff5ba40dbe676
Author: charlie-aws <ch...@amazon.com>
AuthorDate: Wed Apr 7 17:27:16 2021 -0700
fix org.apache.commons.lang.StringEscapeUtils cannot be resolved to a type
(cherry picked from commit 2f2f76f785c5039ac8d99a705df4db430db06458)
---
activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag | 4 ++--
activemq-web-console/src/main/webapp/WEB-INF/tags/form/text.tag | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag b/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag
index cb4987b..03550c3 100644
--- a/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag
+++ b/activemq-web-console/src/main/webapp/WEB-INF/tags/form/short.tag
@@ -17,8 +17,8 @@
<%@ attribute name="text" type="java.lang.String" required="true" %>
<%@ attribute name="length" type="java.lang.Integer" required="false" %>
<%
- text = org.apache.commons.lang.StringEscapeUtils.escapeHtml(text);
- text = org.apache.commons.lang.StringEscapeUtils.escapeJavaScript(text);
+ text = org.apache.commons.lang3.StringEscapeUtils.escapeHtml4(text);
+ text = org.apache.commons.lang3.StringEscapeUtils.escapeEcmaScript(text);
if (length == null || length < 20)
length = 20;
if (text.length() <= length) {
diff --git a/activemq-web-console/src/main/webapp/WEB-INF/tags/form/text.tag b/activemq-web-console/src/main/webapp/WEB-INF/tags/form/text.tag
index 521bc6d..0bbb0f6 100644
--- a/activemq-web-console/src/main/webapp/WEB-INF/tags/form/text.tag
+++ b/activemq-web-console/src/main/webapp/WEB-INF/tags/form/text.tag
@@ -24,7 +24,7 @@
if (value == null) {
value = "";
}
- value = org.apache.commons.lang.StringEscapeUtils.escapeHtml(value);
+ value = org.apache.commons.lang3.StringEscapeUtils.escapeHtml4(value);
%>
<input type="text" name="${name}" value="<%= value %>"/>