Images Broken in topic

Bumping OptimizedImage::VERSION is apparently not that safe. This was done recently in

https://github.com/discourse/discourse/commit/570877da3c39707c2101c3510fab1509fb8ba3e2

What happened here is that the user used the following URL in the post:

https://discourse-cdn-sjc1.com/business6/uploads/codecombat/optimized/2X/0/03e091050fe4eed8c0076eee4ab979e171ba14c3_1_690x267.jpg

Note how the optimized image version is included as _1_ in the URL. If I change that to _2_, the image loads properly.

5 Likes