Closed treehousedevelopers closed 2 years ago
``` sonata-project/media-bundle 3.38.1 ```
The image extension "JPG" is not one of the allowed ("jpg", "png", "jpeg", "gif").
Upload file with JPG extension in name.
Restore strtolower() before allowed extensions check. It has been removed in last commit
It has been removed also in version 4.x and 5.x.
The image extension "JPG" is not one of the allowed.
Can you provide a PR with the fix @treehousedevelopers ?
@VincentLanglet
Could you create a new tag with this correction?
Thanks
Jérôme.
on it https://github.com/sonata-project/SonataMediaBundle/pull/2302
Environment
Sonata packages
``` sonata-project/media-bundle 3.38.1 ```
Subject
The image extension "JPG" is not one of the allowed ("jpg", "png", "jpeg", "gif").
Steps to reproduce
Upload file with JPG extension in name.
Expected results
Restore strtolower() before allowed extensions check. It has been removed in last commit
It has been removed also in version 4.x and 5.x.
Actual results
The image extension "JPG" is not one of the allowed.