Page MenuHomePhabricator

PNG files with truncated PNG IEND chunk are published, but no thumbs are generated
Open, Needs TriagePublicBUG REPORT


Sometimes the upload process on the server changes from assembling stage to publish stage even though the last byte of a file has been upload but not become part of the assembled file (last byte of the file is missing). The file never the less gets published, but no thumbs are generated because of a truncated PNG IEND chunk.

Web browsers, MS Windows, Exiftool and GIMP do display PNGs with a truncated IEND chunk, Mastodon rejects such files.


What should have happened instead?:

Either these files should not be accepted for publishing at all, or thumbor should create thumbs never the less.

Event Timeline

@C.Suthorn: Thanks for reporting this. For future reference, please use the bug report form (linked from the top of the task creation page) to create a bug report, and fill in the sections in the template instead of deleting them. Please also provide full links to test cases.