Jarek Radosz d07f039468 FIX: Secure Upload URLs in lightbox (#8451)
This fixes the following issues:

* The link element on the lightbox which pops open the lightbox was linking to the S3 URL with a private ACL instead of the secure media URL for the image
* Change to use `@post.with_secure_media?` in `CookedPostProcessor` for URL cooking, as in some cases, like when a post is edited and an upload is added, `upload.secure?` can be false which resulted in `srcset` URLs not being cooked correctly to secure media upload urls.
2019-12-05 09:13:09 +10:00
..
2019-12-04 13:33:51 -05:00
2019-12-04 13:33:51 -05:00
2019-12-04 13:33:51 -05:00
2019-12-04 13:33:51 -05:00
2019-12-04 13:33:51 -05:00