zendframework / zend-validator

Validator component from Zend Framework
BSD 3-Clause "New" or "Revised" License
181 stars 136 forks source link

MimeType Validator Not Working #165

Closed open-it closed 7 years ago

open-it commented 7 years ago

To check if a file is readable the MimeType Validator does a stream_resolve_include_path($file) (line 366), as my image has been uploaded to my /tmp directory (which isn't in my include_path), I can never validate my image.

froschdesign commented 7 years ago

Duplicates #77 (See also this PR: #169)