Preventing jpeg extension mutation with optimize robot

Hello.

We have encountered an issue where when users upload a jpeg image with the jpeg extension, it gets converted to jpg when using the optimize robot. Is there a way to prevent this mutation and keep the original extension?

Thanks

Hi there!

Both of these file extensions are the same and interchangeable, so don’t worry we’re not changing the contents of your file :slight_smile:

Hey @MSSNG

I am not too worried about the file itself. We have some additional data submitted via fields that contains data for each file and uses the original file name being submitted. It was just an unexpected mutation that broke some logic just for jpeg files that had their extensions changed to jpg.

We have worked around it by using the original_name property, but I was just wondering if there was a way to prevent these types of changes or if there is any documentation that lists the changes that can be expected when using the optimization robot?

Thanks