freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
101 stars 29 forks source link

Incorrect URLs for media in blog posts #380

Open maeve-fpf opened 2 years ago

maeve-fpf commented 2 years ago

On a blog-post page such as:

https://securethe.news/blog/onions-side-tracking-tor-availability-reader-privacy-major-news-sites/

You can see there's supposed to be a screenshot of ProPublica. However, the URL referenced is:

https://media.securethe.news/media.securethe.news/media/images/propublica.original.png?Expires=1637091617&GoogleAccessId=(... and many more params...)

Not the correct (you can load this in your browser without any params to check):

https://media.securethe.news/media/images/propublica.original.png(... params...)

This sounds like a configuration issue, but the current values of these environment variables seem right:

GS_BUCKET_NAME=media.securethe.news
GS_CUSTOM_ENDPOINT=https://media.securethe.news

We may have some discrepancy in the settings modules that consume these compared to other sites.