Closed (duplicate)
Project:
MimeDetect
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 19:42 UTC
Updated:
15 Apr 2009 at 17:53 UTC
Function: mimedetect_mime
Line: 207
Issue: We need to accept case insensitive extensions: AVI, Avi, avi
Fix: $extension = strtolower(array_pop($parts));
That should do it.
Comments
Comment #1
drewish commentedwhoops, sorry didn't see this and committed #434200: Handle uppercase extensions correctly instead.