[Bug Report] Some images do not get saved
Very rarely an image will fail to get saved when uploaded to StashDB. This always happens with the same image and has been tested across both different browsers and different users.
To Reproduce
- Download this NSFW image
- Create or edit a scene on StashDB
- On the image tab, choose to upload the image downloaded in step 1.
- Observe that the image fails to load
edit: this will actually not reproduce the bug since a site admin has manually intervened to add the image to the StashDB CDN
The fact that this happens so rarely but is fully reproducible, but not on all stash-box instances, makes me think that it could be an edge case related to the configuration
The images are "cached" by their checksum so if the initial upload failed any subsequent re-upload will not update the image. The workaround is to modify the image to change the checksum and then upload it.