[
https://issues.apache.org/jira/browse/HADOOP-12711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150846#comment-15150846
]
Masatake Iwasaki commented on HADOOP-12711:
-------------------------------------------
Is it possible to use
[org.apache.commons.codec.net.URLCodec|https://commons.apache.org/proper/commons-codec/apidocs/org/apache/commons/codec/net/URLCodec.html]
or
[org.apache.http.client.utils.URLEncodedUtils|https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/utils/URLEncodedUtils.html]
instead of copying and pasting the code of URIUtil?
> Remove dependency on commons-httpclient for ServletUtil
> -------------------------------------------------------
>
> Key: HADOOP-12711
> URL: https://issues.apache.org/jira/browse/HADOOP-12711
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Attachments: HADOOP-12711.001.patch
>
>
> This is a branch-2 only change, as ServletUtil for trunk removes the code
> that depends on commons-httpclient.
> We need to retire the use of commons-httpclient in Hadoop to address the
> security concern in CVE-2012-5783
> http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5783.
> {noformat}
> import org.apache.commons.httpclient.URIException;
> import org.apache.commons.httpclient.util.URIUtil;
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)