Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-931

Javascript skin files may not be rendered correctly + Add support for new Javascript mime types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0 B6
    • 1.0 B4
    • {Unused} Core
    • None

    Description

      Indeed it seems some browsers/containers return "application/x-javascript" as the mime type for .js files. XWiki's code only renders javascript files having a "test/javascript" mimetype.

      In addition, according to http://www.developersdex.com/asp/message.asp?p=2978&r=5600817, the official mime type for javascript is now "application/javascript".

      Modify XWiki so that it renders "application/x-javascript", "application/javascript" and "text/javascript" mime types.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: