Very small PNGs are inappropriately converted to JPGs

Completed per:

https://github.com/discourse/discourse/commit/86255faa08ed01930b55888cf52bc75d339f9766

Note recovering here is a bit tricky. After you get the commit deployed you are going to have to either:

  • Change 1 byte of data in your png

OR

  • Enter your container hunt the upload and destroy it

When you upload a file we tie the SHA1 hash of the upload with all the previous processes, so you can not force old uploads through the new pipeline.

7 Likes