Issue #2331595 by nettantra: Fixed Invalid File Extension Error not appearing properly on file upload.