mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 08:45:05 +00:00
When we were pulling hotlinked images for oneboxes in the CookedPostProcessor, we were using the direct S3 URL, which returned a 403 error and thus did not set widths and heights of the images. We now cook the URL first based on whether the upload is secure before handing off to FastImage.