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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B4
    • Fix Version/s: 1.0 B6
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: