You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <ji...@apache.org> on 2019/03/07 17:54:00 UTC
[jira] [Created] (VELOCITY-910) Deprecation of
org.apache.commons.lang3.StringEscapeUtils
Claude Brisson created VELOCITY-910:
---------------------------------------
Summary: Deprecation of org.apache.commons.lang3.StringEscapeUtils
Key: VELOCITY-910
URL: https://issues.apache.org/jira/browse/VELOCITY-910
Project: Velocity
Issue Type: Improvement
Affects Versions: 2.1.x
Reporter: Claude Brisson
Assignee: Claude Brisson
The org.apache.commons.lang3.StringEscapeUtils version has been deprecated in favor of org.apache.commons.text.StringEscapeUtils.
StringEscapeUtils is used in three reference insertion event handlers:
* org.apache.velocity.app.event.implement.EscapeXmlReference.java
* org.apache.velocity.app.event.implement.EscapeHtmlReference.java
* org.apache.velocity.app.event.implement.EscapeJavaScriptReference.java
Those three filters are mainly reference insertion examples and aren't really usable in a real world situation.
We're considering either making commons-text an optional dependency, or adding standalone basic escaping methods to them.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org