Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69F06D2AE for ; Wed, 17 Oct 2012 07:02:04 +0000 (UTC) Received: (qmail 46894 invoked by uid 500); 17 Oct 2012 07:02:04 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 46854 invoked by uid 500); 17 Oct 2012 07:02:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 46836 invoked by uid 99); 17 Oct 2012 07:02:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 07:02:03 +0000 Date: Wed, 17 Oct 2012 07:02:03 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <304600382.56530.1350457323733.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HADOOP-6496) HttpServer sends wrong content-type for CSS files (and others) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Srinivas updated HADOOP-6496: ------------------------------------ Fix Version/s: 1-win > HttpServer sends wrong content-type for CSS files (and others) > -------------------------------------------------------------- > > Key: HADOOP-6496 > URL: https://issues.apache.org/jira/browse/HADOOP-6496 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.21.0, 0.22.0 > Reporter: Lars Francke > Assignee: Ivan Mitic > Priority: Minor > Fix For: 1.2.0, 0.22.0, 1-win > > Attachments: HADOOP-6496.branch-1.1.backport.2.patch, HADOOP-6496.branch-1.1.backport.patch, hadoop-6496.txt, hadoop-6496.txt > > > CSS files are send as text/html causing problems if the HTML page is rendered in standards mode. The HDFS interface for example still works because it is rendered in quirks mode, the HBase interface doesn't work because it is rendered in standards mode. See HBASE-2110 for more details. > I've had a quick look at HttpServer but I'm too unfamiliar with it to see the problem. I think this started happening with HADOOP-6441 which would lead me to believe that the filter is called for every request and not only *.jsp and *.html. I'd consider this a bug but I don't know enough about this to provide a fix. -- 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