Page 1 of 1

Chasing down HTTPS errors

Posted: Mon Apr 16, 2018 6:43 pm
by JHoke
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

Re: Chasing down HTTPS errors

Posted: Tue Apr 17, 2018 10:18 pm
by Fraggboy
I do the same thing. I have 1 block (Bloomsky timelapse) that changes back to http. I have a script that scans the file and adds the s to the end.