Skip to content
Permalink
Browse files

Update GeckoCodes code download to use https

The WiiRD codes respository at https://geckocodes.org has started using HTTPS, and 301 Redirecting traffic from HTTP to HTTPS.  The HTTP client does not appear to be able to handle a 301 Redirect and instead fails when attempting to download codes. This pull request is purely a string replacement to set the URL as HTTPS.
  • Loading branch information...
belthesar committed Jan 20, 2019
1 parent 3627ef8 commit 00f786384d49679d8cb2259fa6037dd3f28fc2f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/Core/GeckoCodeConfig.cpp
@@ -30,7 +30,7 @@ std::vector<GeckoCode> DownloadCodes(std::string gameid, bool* succeeded)
break;
}

std::string endpoint{"http://geckocodes.org/txt.php?txt=" + gameid};
std::string endpoint{"https://geckocodes.org/txt.php?txt=" + gameid};
Common::HttpRequest http;

// Circumvent high-tech DDOS protection

0 comments on commit 00f7863

Please sign in to comment.
You can’t perform that action at this time.