Issues

ZF-9133: Special option that would allow to use mime-type from HTTP headers

Description

Zend_File_Transfer_Adapter_Abstract::_detectMimeType() method does not check the mime-type using HTTP headers, that may be quite safe if you are use a web server module, such as mod_mime_magic. I propose to add a special option that would allow to use mime-type from HTTP headers ($_FILES array).

Comments

For security reasons this has been removed in request by the dev team.

Therefor this issue is closed as won't fix.

Related security issue