summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorCody Wilson <cody@codywilson.co>2019-01-20 11:26:29 -0500
committerGitHub <noreply@github.com>2019-01-20 11:26:29 -0500
commit00f786384d49679d8cb2259fa6037dd3f28fc2f6 (patch)
treeb0e0050a20ce7097abad93b5bce064eeaca270de /Source/Core
parent3627ef8a0489765eb10ab29a7988866b52493239 (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/GeckoCodeConfig.cpp2
1 files changed, 1 insertions, 1 deletions
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<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