Uploading JPEG screenshots is broken [FIXED]

I got error "File is not an image" when uploading JPEG screenshots.
File is uploading actually. But it is not obvious since I see the same page with error. And there is no thumbnail.

PNG screenshots are OK.

(log in to comment)


I believe this is fixed. Thanks for reporting.
I checked. It works. Thank you!