Chasing down HTTPS errors
Posted: Mon Apr 16, 2018 6:43 pm
So, I was chasing down a few HTTPS warnings / errors on my site in Chrome this afternoon. All of the issues were related to two blocks (that I use atleast) Figured I'd post this if anyone else was working on similar 
Nasa Image of the Day : This calls the nasa RSS file via HTTPS, but NASA in their infinite wisdom use HTTP for the links in their RSS feed.... I fixed that issue with
$imgLink = preg_replace("/^http:/i", "https:", $imgLink);
after line 40
The other was in radarUS - I went through and replaced manually all the HTTP with HTTPS for the dropdowns, images, etc. in radarUSBlock.php
Nasa Image of the Day : This calls the nasa RSS file via HTTPS, but NASA in their infinite wisdom use HTTP for the links in their RSS feed.... I fixed that issue with
$imgLink = preg_replace("/^http:/i", "https:", $imgLink);
after line 40
The other was in radarUS - I went through and replaced manually all the HTTP with HTTPS for the dropdowns, images, etc. in radarUSBlock.php