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 "Eli Collins (JIRA)" <ji...@apache.org> on 2011/08/13 22:29:27 UTC

[jira] [Updated] (HDFS-2259) DN web-UI doesn't work with paths that contain html

     [ https://issues.apache.org/jira/browse/HDFS-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins updated HDFS-2259:
------------------------------

    Attachment: hdfs-2259-1.patch

Patch attached. 

Testing: created and accessed the following set of paths with the web UI (browse, goto, tail, download, etc).

{noformat}
/user/eli/dir0/foo bar/dir/foo bar
/user/eli/dir0/foo">bar/dir/foo">bar
/user/eli/dir0/foo+bar/dir/foo+bar
/user/eli/dir0/foo;bar/dir/foo;bar
/user/eli/dir0/foo?bar/dir/foo?bar
{noformat}


> DN web-UI doesn't work with paths that contain html 
> ----------------------------------------------------
>
>                 Key: HDFS-2259
>                 URL: https://issues.apache.org/jira/browse/HDFS-2259
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>            Priority: Minor
>             Fix For: 0.20.205.0
>
>         Attachments: hdfs-2259-1.patch
>
>
> The 20-based DN web UI doesn't work with paths that contain html. The paths need to be unescaped when used to access the file and escaped when printed for navigation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira