[MAGNOLIA-6112] Add mime mapping for .map Created: 10/Mar/15 Updated: 10/Oct/16 Resolved: 03/Feb/16 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.3.7, 5.4 |
| Fix Version/s: | 5.3.13, 5.4.5 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | quickwin, support | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 10m | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Sprint: | Kromeriz 29 | ||||||||||||||||
| Story Points: | 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" SuggestionAdd a MIME mapping config;/server/MIMEMapping/map with mime-type=application/octet-stream (see: http://stackoverflow.com/a/19912684). |
| Comments |
| Comment by Christopher Zimmermann [ 12/Jan/16 ] |
|
Also, its irritating to constantly get info messages in console: |
| Comment by Jan Haderka [ 12/Jan/16 ] |
|
Just out of curiosity, where do we use anything w/ .map extension? |
| Comment by Richard Gange [ 13/Jan/16 ] |
|
had Have a look at pmundt's comment here |
| Comment by Christopher Zimmermann [ 13/Jan/16 ] |
|
I moved those comments into this ticket. |
| Comment by Evzen Fochr [ 29/Jan/16 ] |
|
octect-stream is "fine" but according to http://hul.harvard.edu/ois/systems/wax/wax-public-help/mimetypes.htm application/x-navimap is correct |