From 10629ab92b99bc4be352e7b0b7e24c01140dd239 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 17 Jun 2016 14:12:19 +0200 Subject: [PATCH] Use https URLs to access renderdoc.org * Previous versions accessing the http URLs will be redirected soon (as of time of writing this). The POST /bugsubmit won't be redirected as it's not feasible to redirect POST requests, but that will continue working. --- renderdoccmd/renderdoccmd_win32.cpp | 2 +- renderdocui/Windows/MainWindow.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/renderdoccmd/renderdoccmd_win32.cpp b/renderdoccmd/renderdoccmd_win32.cpp index 85f22dcdf..4afeca6b3 100644 --- a/renderdoccmd/renderdoccmd_win32.cpp +++ b/renderdoccmd/renderdoccmd_win32.cpp @@ -685,7 +685,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInst, _In_opt_ HINSTANCE hPrevInstance, _In_ std::map params; - google_breakpad::HTTPUpload::SendRequest(L"http://renderdoc.org/bugsubmit", params, + google_breakpad::HTTPUpload::SendRequest(L"https://renderdoc.org/bugsubmit", params, dumpFolder + L"\\report.zip", L"report", &timeout, &body, &code); diff --git a/renderdocui/Windows/MainWindow.cs b/renderdocui/Windows/MainWindow.cs index 9c7fc0ef4..809e89ef3 100644 --- a/renderdocui/Windows/MainWindow.cs +++ b/renderdocui/Windows/MainWindow.cs @@ -1112,7 +1112,7 @@ namespace renderdocui.Windows var updateThread = Helpers.NewThread(new ThreadStart(() => { // spawn thread to check update - WebRequest g = HttpWebRequest.Create(String.Format("http://renderdoc.org/getupdateurl/{0}/{1}", IntPtr.Size == 4 ? "32" : "64", versionCheck)); + WebRequest g = HttpWebRequest.Create(String.Format("https://renderdoc.org/getupdateurl/{0}/{1}", IntPtr.Size == 4 ? "32" : "64", versionCheck)); UpdateResult result = UpdateResult.Disabled;