You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Derek Dagit (JIRA)" <ji...@apache.org> on 2012/11/09 23:49:12 UTC
[jira] [Updated] (HDFS-4172) namenode does not URI-encode
parameters when building URI for datanode request
[ https://issues.apache.org/jira/browse/HDFS-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Derek Dagit updated HDFS-4172:
------------------------------
Attachment: HDFS-4162.patch
URI-Encode the param strings when building the sorted string with UTF-8.
Also added test and JavaDocs.
> namenode does not URI-encode parameters when building URI for datanode request
> ------------------------------------------------------------------------------
>
> Key: HDFS-4172
> URL: https://issues.apache.org/jira/browse/HDFS-4172
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.23.4
> Reporter: Derek Dagit
> Assignee: Derek Dagit
> Priority: Minor
> Attachments: HDFS-4162.patch
>
>
> Param values such as
> foo&bar
> or
> foo=bar
> Are not escaped in Param.toSortedString()
> When these are given, a string like
> &renewer=renewer%3Dequal&token=token%26ampersand
> is returned.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira