jshttp / mime-types

The ultimate javascript content-type utility.
MIT License
1.32k stars 129 forks source link

audio/mp3 mimetype returns false on extension #25

Closed automagisch closed 8 years ago

automagisch commented 8 years ago

Looks like mp3 only gets validated on audio/mpeg. So if audio/mp3 is returned (don't say that can't be happening - multer does this.), you only get 'false'.

malcolmrebughini commented 8 years ago

This bug should be fixed with this PR https://github.com/jshttp/mime-db/pull/50

dougwilson commented 8 years ago

Yea, audio/mp3 does not return because it's not a real type. @malcolmrebughini identified this as a long-standing Chrome bug and we'll be adding support for it thanks to @malcolmrebughini