Feature Request - upload file extension check like mime check

See all posts See thread Reply

Re: Feature Request - upload file extension check like mime check new!
by colin, 15 years, 8 months ago
I am not sure this would be an useful feature. The file extension can be changed easily, and thus is not a reliable way of filtering files. The class has strong built-in MIME type detection features, and using MIME types is a much more reliable way of allowing or refusing precise types of files.

Could you enlighten me as to why filtering on file extension would be useful considering that you can already do the same (and better) with MIME types?Reply