Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6112

Add mime mapping for .map

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 5.3.13, 5.4.5
    • 5.3.7, 5.4
    • None
    • Kromeriz 29
    • 1

    Description

      Nowadays a lot of frontend tools use source maps files (we do this in the new travel-demo too).

      Unfortunately there is no MIME mapping defined in the server configuration resulting in log.infos:

      2015-07-31 08:45:02,768 INFO  info.magnolia.cms.beans.config.MIMEMapping        : Cannot find MIME type for extension "map"
      

      Suggestion

      Add a MIME mapping config;/server/MIMEMapping/map with mime-type=application/octet-stream (see: http://stackoverflow.com/a/19912684).

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                rgange Richard Gange
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 10m
                      10m