Download links with http

Started by cat, Fri 15/10/2021 09:24:14

Previous topic - Next topic

cat

I noticed that download of my games failed, both in Firefox and in Chrome. As far as I understood, this was some malware protection mechanism of the browser. The link on the game page was still http instead of https and the browser wouldn't let me access the file because I was coming from a site with https. I fixed the link for the game and now download works again.

Would it be a good idea to fix this for all games in the database, that is, automatically change all http:// to https://
Or would this cause other problems?

fernewelten

I had this problem “from the other side” a few months ago: I had uploaded some games and pictures onto my server and others couldn't download them from there.

At that time I hit on a snag concerning my server: It wasn't enough to just change the download links from "http://" to "https://". I also had to teach my server to accept those new "https://" requests. It had something to do with installing a "Let's encrypt certificate". Before I'd done that, my server would refuse the "https://" addresses in the same way that it'd refuse wrong or unknown addresses.

So, just changing all the "http://" links won't necessarily solve the problem in all cases. We'd need to check for each individual link whether the "https://" variant is resolved.

AGA

Yeah, exactly.  It would probably make more sense for me to export a list of all the http links, and for us to have a community effort to check whether they're also accessible at https.  Checking them by script wouldn't necessarily work unfortunately, as some hosts like MediaFire make things complicated by having an extra step before the download, captchas etc.

SMF spam blocked by CleanTalk