Last modified: 2006-03-30 04:31:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5277 - Bad MIME type for MIDI files
Bad MIME type for MIDI files
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/w/index....
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-17 11:04 UTC by Daniel Kinzler
Modified: 2006-03-30 04:31 UTC (History)
0 users

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


Attachments

Description Daniel Kinzler 2006-03-17 11:04:10 UTC
The server delivers files with the ".mid" extension as
"application/octet-stream" instead of "audio/midi". This reportedly sometimes
throws off MS-IE, which (mis-)guesses the file format, and tries to display it
as an image. In any case a valid mime type would be a good idea.

Also, for some reason, MIDI files have the MIME type "audio/mid" in the
database, instead of "audio/midi". This can probably be fixed by tweaking
includes/mime.info file (the first entry in each line is the "primary" mime type
used in the DB). The values would need to be changed in the DB, too. And while
you are at it, fix the mime type for SVG too :)
Comment 1 Brion Vibber 2006-03-30 04:31:00 UTC
I've added .mid/.midi to the lighttpd configuration file on the
upload server so they are served with the correct type.

Switched the bit in mime.info, uploads are now correct. Will
run fixes on affected files in db.

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


Navigation
Links