Hacker News new | ask | show | jobs
by llacb47 1956 days ago
For some reason this site redirects you to the insecure version (HTTP). So if you are using HTTPS everywhere, you will get stuck in a refresh loop.

See this snippet of code from an inline script in the page source:

    var isNative = /RadioGarden/i.test(window.navigator.userAgent);
    if (!isNative)
        if ("https:" === window.location.protocol) 
            window.location.protocol = "http:";
        else {
        ...
      }
1 comments

I was wondering what was happening with it. I thought something had gone very wrong because of the traffic spike it got off going viral. Very strange thing to do.
It probably has to do with mixed content. I bet many radio streams are offered as HTTP only, making this site break if it’s on TLS.