Steps to reproduce:
- Add 'Media Gallery' portlet
- Click 'Add Media' > Click 'Basic Document'
- Click 'Browse' > Select a .jpeg file
- Click 'Publish'
The ability to upload media files with the correct file extension.
I don't get a console error, but I do get an error on the page despite choosing correct and incorrect file formats:
Issue was discovered through the following automated test failure: