[
https://issues.apache.org/jira/browse/HBASE-29026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dávid Paksy updated HBASE-29026:
--------------------------------
Description:
While working on https://issues.apache.org/jira/browse/HBASE-28832 I noticed
that several JSP code uses deprecated methods.
For example {{table.jsp}} calls these many times:
* {{java.net.URLEncoder.encode()}} - Deprecated. The resulting string may vary
depending on the platform's default encoding. Instead, use the
encode(String,String) method to specify the encoding.
* {{org.apache.commons.lang3.StringEscapeUtils.escapeHtml4()}} - Deprecated As
of 3.6, use Apache Commons Text
[StringEscapeUtils|https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/StringEscapeUtils.html]
instead
* {{org.apache.commons.lang3.StringEscapeUtils.escapeXml()}} - Deprecated As
of 3.6, use Apache Commons Text
[StringEscapeUtils|https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/StringEscapeUtils.html]
instead
Replace these deprecated calls in the JSP code.
was:
While working on https://issues.apache.org/jira/browse/HBASE-28832 I noticed
that several JSP code uses deprecated methods.
For example {{table.jsp}} calls these many times:
* {{java.net.URLEncoder.encode() - Deprecated. The resulting string may vary
depending on the platform's default encoding. Instead, use the
encode(String,String) method to specify the encoding.}}
* {{org.apache.commons.lang3.StringEscapeUtils.escapeHtml4() - Deprecated As
of 3.6, use Apache Commons Text
[StringEscapeUtils|https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/StringEscapeUtils.html]
instead}}
* {{org.apache.commons.lang3.StringEscapeUtils.escapeXml() - }}{{Deprecated
}}{{As of 3.6, use Apache Commons Text
[StringEscapeUtils|https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/StringEscapeUtils.html]
instead}}
Replace these deprecated calls in the JSP code.
> Fix deprecated calls in JSP files
> ---------------------------------
>
> Key: HBASE-29026
> URL: https://issues.apache.org/jira/browse/HBASE-29026
> Project: HBase
> Issue Type: Task
> Components: UI
> Affects Versions: 4.0.0-alpha-1
> Reporter: Dávid Paksy
> Assignee: Dávid Paksy
> Priority: Major
>
> While working on https://issues.apache.org/jira/browse/HBASE-28832 I noticed
> that several JSP code uses deprecated methods.
> For example {{table.jsp}} calls these many times:
> * {{java.net.URLEncoder.encode()}} - Deprecated. The resulting string may
> vary depending on the platform's default encoding. Instead, use the
> encode(String,String) method to specify the encoding.
> * {{org.apache.commons.lang3.StringEscapeUtils.escapeHtml4()}} - Deprecated
> As of 3.6, use Apache Commons Text
> [StringEscapeUtils|https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/StringEscapeUtils.html]
> instead
> * {{org.apache.commons.lang3.StringEscapeUtils.escapeXml()}} - Deprecated As
> of 3.6, use Apache Commons Text
> [StringEscapeUtils|https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/StringEscapeUtils.html]
> instead
> Replace these deprecated calls in the JSP code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)