zendframework / zend-validator

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

Use correct mime type for jpeg files #263

Closed metalinspired closed 4 years ago

metalinspired commented 5 years ago

Even though most of the time jpeg files have .jpg extension the correct mime type is 'image/jpeg' as defined in https://www.w3.org/Graphics/JPEG/

michalbundyra commented 4 years ago

Thanks, @metalinspired!