Last modified: 2012-11-01 14:30:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42796, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40796 - Font transferred with MIME type application/octet-stream
Font transferred with MIME type application/octet-stream
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-05 13:56 UTC by Aude
Modified: 2012-11-01 14:30 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2012-10-05 13:56:43 UTC
Resource interpreted as Font but transferred with MIME type application/octet-stream: extensions/UniversalLanguageSelector/data/fontrepo/fonts/Opendyslexic/opendyslexic.woff?version=0.6&20120101". 

I am using Apache with my test wiki and Chrome, and get Chrome complaining about this in the JavaScript console.
Comment 1 Brion Vibber 2012-10-05 18:00:34 UTC
I believe fonts are served directly (rather than via an intermediary like ResourceLoader) so you'll probably have to update your web server's configuration to include the proper mime type for .woff files.
Comment 2 Niklas Laxström 2012-10-06 08:11:42 UTC
IRCC Chrome will just complain regardless of what mime type the woff file has.
Comment 3 Siebrand Mazeland 2012-10-16 12:26:14 UTC
Should be reported upstream if this is a Chrome issue.
Comment 4 Niklas Laxström 2012-11-01 13:58:18 UTC
This out of control of ULS. In WMF cluster this is already fixed. If you want to fix this yourself you need to add mime-types for .woff in the apache config. The warning is harmless though.
Comment 5 Derk-Jan Hartman 2012-11-01 14:04:01 UTC
Might not hurt to add the common content-type settings for apache servers into the documentation of ULS though ?
Comment 6 Niklas Laxström 2012-11-01 14:09:58 UTC
Then we would need to add it for all common web servers, and I don't think that is our job to do.

http://www.webcoder.de/2010/06/04/how-to-configure-your-webserver-for-webm-video-and-audio-files/ is easily adapted to fonts.
Comment 7 Derk-Jan Hartman 2012-11-01 14:12:12 UTC
how about just listing the file extension -> content-type for fonts ?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links