hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2025) Go Back to File View link is not working in tail.jsp
Date Fri, 15 Jul 2011 17:05:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066073#comment-13066073
] 

Aaron T. Myers commented on HDFS-2025:
--------------------------------------

Hi Sravan, any reason you couldn't just use {{URLDecoder.decode(...)}} instead of creating
an extraneous {{URL}} object? Also, could you please write a test case to account for this,
perhaps in {{TestDatanodeJsp.java}} ?

> Go Back to File View link is not working in tail.jsp
> ----------------------------------------------------
>
>                 Key: HDFS-2025
>                 URL: https://issues.apache.org/jira/browse/HDFS-2025
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 0.23.0
>            Reporter: sravankorumilli
>            Assignee: sravankorumilli
>            Priority: Minor
>         Attachments: HDFS-2025.patch, HDFS-2025_1.patch, ScreenShot_1.jpg
>
>
> While browsing the file system.
> Click on any file link to go to the page where the file contents are displayed, then
when we click on '*Tail this file*' link.
> The control will go to the tail.jsp here when we
> Click on '*Go Back to File View*' option.
> HTTP Error page not found will come.
> This is because the referrer URL is encoded and the encoded URL is itself being used
in the '*Go Back to File View*' hyperlink which will be treated as a relative URL and thus
the HTTP request will fail.

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

        

Mime
View raw message