summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2023-06-20 19:37:09 +0300
committerdartraiden <wowemuh@gmail.com>2023-06-20 19:37:26 +0300
commit84f6f179f2970a36d2a9591d36eff418b7841bb8 (patch)
tree7e53f1b95e2f8127b79478e4c5e9e5037422fc52 /plugins
parent4b57a291f3d2ea2168666d3906a7c1780eef49e1 (diff)
Let's use HTTPS in 2023
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/utils.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Scriver/src/utils.cpp b/plugins/Scriver/src/utils.cpp
index 47819260e7..874559fbf5 100644
--- a/plugins/Scriver/src/utils.cpp
+++ b/plugins/Scriver/src/utils.cpp
@@ -110,29 +110,29 @@ void SearchWord(wchar_t *word, int engine)
CMStringA wordURL(mir_urlEncode(wordUTF));
switch (engine) {
case SEARCHENGINE_WIKIPEDIA:
- mir_snprintf(szURL, "http://en.wikipedia.org/wiki/%s", wordURL.c_str());
+ mir_snprintf(szURL, "https://en.wikipedia.org/wiki/%s", wordURL.c_str());
break;
case SEARCHENGINE_YAHOO:
- mir_snprintf(szURL, "http://search.yahoo.com/search?p=%s&ei=UTF-8", wordURL.c_str());
+ mir_snprintf(szURL, "https://search.yahoo.com/search?p=%s&ei=UTF-8", wordURL.c_str());
break;
case SEARCHENGINE_FOODNETWORK:
- mir_snprintf(szURL, "http://www.foodnetwork.com/search/%s-", wordURL.c_str());
+ mir_snprintf(szURL, "https://www.foodnetwork.com/search/%s-", wordURL.c_str());
break;
case SEARCHENGINE_BING:
- mir_snprintf(szURL, "http://www.bing.com/search?q=%s&form=OSDSRC", wordURL.c_str());
+ mir_snprintf(szURL, "https://www.bing.com/search?q=%s&form=OSDSRC", wordURL.c_str());
break;
case SEARCHENGINE_GOOGLE_MAPS:
- mir_snprintf(szURL, "http://maps.google.com/maps?q=%s&ie=utf-8&oe=utf-8", wordURL.c_str());
+ mir_snprintf(szURL, "https://maps.google.com/maps?q=%s&ie=utf-8&oe=utf-8", wordURL.c_str());
break;
case SEARCHENGINE_GOOGLE_TRANSLATE:
- mir_snprintf(szURL, "http://translate.google.com/?q=%s&ie=utf-8&oe=utf-8", wordURL.c_str());
+ mir_snprintf(szURL, "https://translate.google.com/?q=%s&ie=utf-8&oe=utf-8", wordURL.c_str());
break;
case SEARCHENGINE_YANDEX:
- mir_snprintf(szURL, "http://yandex.ru/yandsearch?text=%s", wordURL.c_str());
+ mir_snprintf(szURL, "https://yandex.ru/yandsearch?text=%s", wordURL.c_str());
break;
case SEARCHENGINE_GOOGLE:
default:
- mir_snprintf(szURL, "http://www.google.com/search?q=%s&ie=utf-8&oe=utf-8", wordURL.c_str());
+ mir_snprintf(szURL, "https://www.google.com/search?q=%s&ie=utf-8&oe=utf-8", wordURL.c_str());
break;
}