mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 23:16:52 +00:00
Merge pull request #646 from Charlie-chenchrl/AMQ8219
[AMQ-8219] fix org.apache.commons.lang.StringEscapeUtils cannot be resolved to a…
This commit is contained in:
commit
d48cf37583
@ -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) {
|
||||
|
@ -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 %>"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user