diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-08-06 18:18:07 +0200 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-08-06 18:19:08 +0200 |
commit | 6d1f6fb99d843cb29a869cf9877eb14045a26245 (patch) | |
tree | 00c77c66ab81711689cec2ace92dc05c5be25091 /plugins/CrashDumper | |
parent | c3a30a7cfbdfbde6e7583eee28c712734ac8bc55 (diff) |
Update rest of links to https
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r-- | plugins/CrashDumper/src/crshdmp.cpp | 4 | ||||
-rw-r--r-- | plugins/CrashDumper/src/ui.cpp | 4 | ||||
-rw-r--r-- | plugins/CrashDumper/src/upload.cpp | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index 68fb2a48e1..30ff267f06 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -148,7 +148,7 @@ INT_PTR OpenUrl(WPARAM wParam, LPARAM) break;
case 1:
- OpenAuthUrl("http://vi.miranda-ng.org/detail/%s");
+ OpenAuthUrl("https://vi.miranda-ng.org/detail/%s");
break;
}
return 0;
@@ -159,7 +159,7 @@ INT_PTR CopyLinkToClipboard(WPARAM, LPARAM) ptrW tmp(db_get_wsa(NULL, PluginName, "Username"));
if (tmp != NULL) {
wchar_t buffer[MAX_PATH];
- mir_snwprintf(buffer, L"http://vi.miranda-ng.org/detail/%s", tmp);
+ mir_snwprintf(buffer, L"https://vi.miranda-ng.org/detail/%s", tmp);
int bufLen = (sizeof(buffer) + 1) * sizeof(wchar_t);
HANDLE hData = GlobalAlloc(GMEM_MOVEABLE, bufLen);
diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp index e2d6c71002..91fa5f9578 100644 --- a/plugins/CrashDumper/src/ui.cpp +++ b/plugins/CrashDumper/src/ui.cpp @@ -270,11 +270,11 @@ LRESULT CALLBACK DlgProcPopup(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) case WM_COMMAND:
switch ((INT_PTR)PUGetPluginData(hWnd)) {
case 0:
- OpenAuthUrl("http://vi.miranda-ng.org/detail/%s");
+ OpenAuthUrl("https://vi.miranda-ng.org/detail/%s");
break;
case 1:
- OpenAuthUrl("http://vi.miranda-ng.org/global/%s");
+ OpenAuthUrl("https://vi.miranda-ng.org/global/%s");
break;
case 3:
diff --git a/plugins/CrashDumper/src/upload.cpp b/plugins/CrashDumper/src/upload.cpp index 7b0eff23b2..49dac93b0e 100644 --- a/plugins/CrashDumper/src/upload.cpp +++ b/plugins/CrashDumper/src/upload.cpp @@ -70,10 +70,10 @@ void OpenAuthUrl(const char* url) if (user[0] && pass[0]) {
char str[256];
mir_snprintf(str, url, user); // XXX: fix me
- mir_snprintf(str, "http://vi.miranda-ng.org/detail/%s", user);
+ mir_snprintf(str, "https://vi.miranda-ng.org/detail/%s", user);
Utils_OpenUrl(str);
}
- else Utils_OpenUrl("http://vi.miranda-ng.org/");
+ else Utils_OpenUrl("https://vi.miranda-ng.org/");
}
void CreateAuthString(char* auth)
@@ -205,7 +205,7 @@ void __cdecl VersionInfoUploadThread(void* arg) char user[64], pass[40];
GetLoginStr(user, sizeof(user), pass);
char str[256];
- mir_snprintf(str, "http://vi.miranda-ng.org/en/upload?login=%s&pass=%s", user, pass);
+ mir_snprintf(str, "https://vi.miranda-ng.org/en/upload?login=%s&pass=%s", user, pass);
InternetDownloadFile(str, trn);
mir_free(trn->buf);
|