From 00f786384d49679d8cb2259fa6037dd3f28fc2f6 Mon Sep 17 00:00:00 2001 From: Cody Wilson Date: Sun, 20 Jan 2019 11:26:29 -0500 Subject: [PATCH] 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. --- Source/Core/Core/GeckoCodeConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/GeckoCodeConfig.cpp b/Source/Core/Core/GeckoCodeConfig.cpp index 8810aee3b1..4e5dfd1642 100644 --- a/Source/Core/Core/GeckoCodeConfig.cpp +++ b/Source/Core/Core/GeckoCodeConfig.cpp @@ -30,7 +30,7 @@ std::vector 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