starteam / starcellbio_html

2 stars 7 forks source link

wrong MIME type for .otf files #147

Open pdpinch opened 9 years ago

pdpinch commented 9 years ago

Just noticed this on starcellbio.mit.edu:

all.packed.js:5 Resource interpreted as Font but transferred with MIME type application/vnd.oasis.opendocument.formula-template: "https://starcellbio.mit.edu/static/ui/fonts/SourceSansPro-Semibold.otf".
all.packed.js:5 Resource interpreted as Font but transferred with MIME type application/vnd.oasis.opendocument.formula-template: "https://starcellbio.mit.edu/static/ui/fonts/SourceSansPro-Bold.otf".
bdero commented 9 years ago

How do you reproduce this, and on what browser? Chrome and Firefox are showing requests for https://starcellbio.mit.edu/static/ui/fonts/SourceSansPro-Regular.otf for me on the homepage, but there doesn't seem to be any console output complaining about MIME types.

pdpinch commented 9 years ago

Sorry for omitting that info.

I'm on Chrome, accessing https://starcellbio.mit.edu/#view=homepage (not logged in)

I got a little more detail this time:

all.packed.js:98 SCB_EX/ADD_MULTIPLE_DIALOG
all.packed.js:5 Resource interpreted as Font but transferred with MIME type application/vnd.oasis.opendocument.formula-template: "https://starcellbio.mit.edu/static/ui/fonts/SourceSansPro-Bold.otf".all.packed.js:5 f.each.f.cssHooks.(anonymous function).getall.packed.js:5 f.extend.cssall.packed.js:5 f.each.f.fn.(anonymous function)all.packed.js:21 (anonymous function)all.packed.js:21 (anonymous function)
all.packed.js:5 Resource interpreted as Font but transferred with MIME type application/vnd.oasis.opendocument.formula-template: "https://starcellbio.mit.edu/static/ui/fonts/SourceSansPro-Regular.otf".all.packed.js:5 f.each.f.cssHooks.(anonymous function).getall.packed.js:5 f.extend.cssall.packed.js:5 f.each.f.fn.(anonymous function)all.packed.js:21 (anonymous function)all.packed.js:21 (anonymous function)
all.packed.js:5 Resource interpreted as Font but transferred with MIME type application/vnd.oasis.opendocument.formula-template: "https://starcellbio.mit.edu/static/ui/fonts/SourceSansPro-Semibold.otf".all.packed.js:5 f.each.f.cssHooks.(anonymous function).getall.packed.js:5 f.extend.cssall.packed.js:5 f.each.f.fn.(anonymous function)all.packed.js:21 (anonymous function)all.packed.js:21 (anonymous function)
all.packed.js:58 
              <span style="color: #000000; font-size: small;">This
              feature is currently unavailable in
              StarCellBio.</span>

              <span style="color: #000000; font-size: small;"><span style="line-height: 21px;"><br></span></span>

              <span style="font-size: small;"><br></span>

On Apr 14, 2015, at 9:24 AM, Brandon DeRosier notifications@github.com wrote:

How do you reproduce this, and on what browser? Chrome and Firefox are showing requests for https://starcellbio.mit.edu/static/ui/fonts/SourceSansPro-Regular.otf, but there doesn't seem to be any console output complaining about the MIME type.

— Reply to this email directly or view it on GitHub.