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

Daryn Sharp commented on HDFS-2025:
-----------------------------------

The {{validateURL}} call that was removed is intended to properly encode the 
referrer for embedding with the hidden field.  You need to account for both the 
raw display of the referrer and the encoded value within the form's hidden 
field.

> 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

        

Reply via email to