From 84f6f179f2970a36d2a9591d36eff418b7841bb8 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Tue, 20 Jun 2023 19:37:09 +0300 Subject: Let's use HTTPS in 2023 --- src/mir_app/src/srmm_log_rtf.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/mir_app/src/srmm_log_rtf.cpp b/src/mir_app/src/srmm_log_rtf.cpp index 18a4130482..6a879a535f 100644 --- a/src/mir_app/src/srmm_log_rtf.cpp +++ b/src/mir_app/src/srmm_log_rtf.cpp @@ -548,28 +548,28 @@ INT_PTR CRtfLogWindow::WndProc(UINT msg, WPARAM wParam, LPARAM lParam) CMStringW szURL; switch (uID) { case IDM_SEARCH_WIKIPEDIA: - szURL.Format(L"http://en.wikipedia.org/wiki/%s", pszWord); + szURL.Format(L"https://en.wikipedia.org/wiki/%s", pszWord); break; case IDM_SEARCH_YAHOO: - szURL.Format(L"http://search.yahoo.com/search?p=%s&ei=UTF-8", pszWord); + szURL.Format(L"https://search.yahoo.com/search?p=%s&ei=UTF-8", pszWord); break; case IDM_SEARCH_FOODNETWORK: - szURL.Format(L"http://www.foodnetwork.com/search/%s-", pszWord); + szURL.Format(L"https://www.foodnetwork.com/search/%s-", pszWord); break; case IDM_SEARCH_BING: - szURL.Format(L"http://www.bing.com/search?q=%s&form=OSDSRC", pszWord); + szURL.Format(L"https://www.bing.com/search?q=%s&form=OSDSRC", pszWord); break; case IDM_SEARCH_GOOGLE_MAPS: - szURL.Format(L"http://maps.google.com/maps?q=%s&ie=utf-8&oe=utf-8", pszWord); + szURL.Format(L"https://maps.google.com/maps?q=%s&ie=utf-8&oe=utf-8", pszWord); break; case IDM_SEARCH_GOOGLE_TRANSLATE: - szURL.Format(L"http://translate.google.com/?q=%s&ie=utf-8&oe=utf-8", pszWord); + szURL.Format(L"https://translate.google.com/?q=%s&ie=utf-8&oe=utf-8", pszWord); break; case IDM_SEARCH_YANDEX: - szURL.Format(L"http://yandex.ru/yandsearch?text=%s", pszWord); + szURL.Format(L"https://yandex.ru/yandsearch?text=%s", pszWord); break; case IDM_SEARCH_GOOGLE: - szURL.Format(L"http://www.google.com/search?q=%s&ie=utf-8&oe=utf-8", pszWord); + szURL.Format(L"https://www.google.com/search?q=%s&ie=utf-8&oe=utf-8", pszWord); break; } Utils_OpenUrlW(szURL); -- cgit v1.2.3