Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2649

Wrong MIME types lead to uninterpreted css stylesheets

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.7
    • 2.3.2
    • User Console
    • debian 6.0.2 („Squeeze") / jetty 6.1.24-6

      When deploying the current crowd WAR to jetty, crowd serves all contents as "text/html". All current browser releases ignore css files with a mime type of "text/html" which leads to an destroyed layout of the User Console.

      However, this error does not occur with the standalone release of crowd as Tomcat seems to correct this bug by overriding the mime types.

      Looks like a Filter is setting wrong mime types for all served files...

        1. crowd_stylesheets.png
          166 kB
          Matthias Pfau

            [CWD-2649] Wrong MIME types lead to uninterpreted css stylesheets

            joe added a comment -

            The responsible CrowdEncodingFilter has been removed; its intention was to set a UTF-8 encoding on all pages, but it was applying to all non-HTML resources. Now the underlying JSPs all declare the correct encoding the filter is unnecessary.

            joe added a comment - The responsible CrowdEncodingFilter has been removed; its intention was to set a UTF-8 encoding on all pages, but it was applying to all non-HTML resources. Now the underlying JSPs all declare the correct encoding the filter is unnecessary.

            Unfortunately not.

            Matthias Pfau added a comment - Unfortunately not.

            Keith Putt added a comment -

            Hi Matthias - did you get a response from Atlassian on this bug?

            Thanks
            Keith

            Keith Putt added a comment - Hi Matthias - did you get a response from Atlassian on this bug? Thanks Keith

              jwalton joe
              e15de92a7f6a Matthias Pfau
              Affected customers:
              2 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: