yiisoft/yii — pull request #1055 by resurtm (2012-07-28 14:18:37+00:00)
Title: CFileValidator could validate uploaded file by its MIME-type, added $mimeTypes and $wrongMimeTypes properties.

Rework of PR #1008.