Menu

#26 Invalid JPEG handling....

open
Etienne
None
1
2012-09-21
2009-05-18
No

Hi, I'm using the File Upload Applet for picture uploads and found a little cosmetical issue...

When uploading "faked" JPEGs (for example renamed textfiles or something like that), the applet does show some cryptic error messages.... might be the same with corrupted JPEG headers or something like that...

For example on uploading a messagebox ("Alert", "PictureFileData()") pops up.

On selection of the corrupted file in the file list, "ImageReaderWriteHelper.readImage(0)" is shown. It might be good to show a localized error message or something like that, but that issue is far from critical....

Greets,
Florian

P.S.: I've attached an example file, but it should be quite easy to reproduce with self-constructed "JPEGS".

Discussion

  • Florian Posch

    Florian Posch - 2009-05-18
     
  • Etienne

    Etienne - 2009-05-19

    Ok, added to my todo list.

    Thanks for the report.

     

Anonymous
Anonymous

Add attachments
Cancel