You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ivan Mitic (JIRA)" <ji...@apache.org> on 2012/09/12 19:30:08 UTC

[jira] [Commented] (HADOOP-7827) jsp pages missing DOCTYPE

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

Ivan Mitic commented on HADOOP-7827:
------------------------------------

Hi folks,

I spent some time investigating the IE9 render issues on branch-1 (and regression mentioned in HADOOP-7867). If I see things correctly, the cause of the regression is browsers failing to load the css file. Now that we changed the browser mode to HTML5, it fails to load the css file if the returned server content type does not match the expected value (in this case text/css).

The problem for this seems to be in HttpServer.java, where {{QuotingInputFilter#doFilter}} always sets the context type to {{text/html}}. This was fixed with HADOOP-6496, so the missing piece is to backport this changelist. Will attach a patch for the backport.

Let me know if I should also rebase the changes to the latest trunk/branch-1.1, I'll be happy to do that.

Hope this helps
                
> jsp pages missing DOCTYPE
> -------------------------
>
>                 Key: HADOOP-7827
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7827
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.203.0
>            Reporter: Dave Vronay
>            Assignee: Dave Vronay
>            Priority: Trivial
>         Attachments: HADOOP-7827-branch-0.20-security.patch, HADOOP-7827.patch, HADOOP-7827.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> The various jsp pages in the UI are all missing a DOCTYPE declaration.  This causes the pages to render incorrectly on some browsers, such as IE9.  Every UI page should have a valid tag, such as <!DOCTYPE HTML>, as their first line.  There are 31 files that need to be changed, all in the core\src\webapps tree.

--
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