Przepraszam, za double-post, ale dodaję celowo, żeby było 'nowe' dla wszystkich.
Zapytałem wujka Google, i znalazłem takie info:
Cytat
For security reasons we had to turn off the default fallback mechanism of the MimeType, ExcludeMimeType, IsCompressed and IsImage validators. This means, that if the fileInfo or magicMime extensions can not be found, the validation will always fail.
If you are in need of validation by using the HTTP fields which are provided by the user then you can turn on this feature by using the enableHeaderCheck() method.
Oraz dalej
Cytat
You should note that relying on the HTTP fields, which are provided by your user, is a security risk. They can easily be changed and could allow your user to provide a malcious file.
Czyli, pozostaje mi użycie enableHeaderCheck(), które jest chyba trochę lepszym (choć nie idealnym, jak w/w) rozwiązaniem niż sprawdzanie rozszerzenia pliku. Lub włączenie rozszerzeń: fileInfo albo magicMime.
Pozdrawiam!