ramsey/mimeparse — pull request #5 by mkantor (2012-09-19 20:02:08+00:00)
Title: Make type/subtype matches only add fitness when they aren't "*".

This allows for more consistent behavior when using wildcards in the $supported argument of Mimeparse::bestMatch. More specific matches will now have higher fitness and therefore be "better" matches.

I also added some test cases to cover this change.