zechdc/CodeIgniter — comment on commit f450fc9124241c10f77c6e86da8cf27af2bd991b
File:  line 0
By zechdc:

This is not a good approach to fixing issue #750. See pull request #757 for a better approach to fixing the issue. My script fails to do any real integrity checks. If someone uploads a malicious script (eg: A .exe with the extension .jpg) it will fall through all the mime_type checks and just use the assume .jpg is its mime because that is the extension.