From 07fdaec85da27a7a6db868bc454d4cfee0a39da1 Mon Sep 17 00:00:00 2001 From: Oleg Shparber Date: Mon, 25 Mar 2019 22:43:39 -0400 Subject: [PATCH] fix(core,ui): use HTTPS to access api.zealdocs.org --- src/libs/core/application.cpp | 2 +- src/libs/ui/docsetsdialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/core/application.cpp b/src/libs/core/application.cpp index 0c6621f..4031c47 100644 --- a/src/libs/core/application.cpp +++ b/src/libs/core/application.cpp @@ -47,7 +47,7 @@ using namespace Zeal; using namespace Zeal::Core; namespace { -const char ReleasesApiUrl[] = "http://api.zealdocs.org/v1/releases"; +const char ReleasesApiUrl[] = "https://api.zealdocs.org/v1/releases"; } Application *Application::m_instance = nullptr; diff --git a/src/libs/ui/docsetsdialog.cpp b/src/libs/ui/docsetsdialog.cpp index 1057ed0..c209ec9 100644 --- a/src/libs/ui/docsetsdialog.cpp +++ b/src/libs/ui/docsetsdialog.cpp @@ -54,7 +54,7 @@ extern Q_CORE_EXPORT int qt_ntfs_permission_lookup; #endif namespace { -const char ApiServerUrl[] = "http://api.zealdocs.org/v1"; +const char ApiServerUrl[] = "https://api.zealdocs.org/v1"; const char RedirectServerUrl[] = "https://go.zealdocs.org"; // TODO: Each source plugin should have its own cache const char DocsetListCacheFileName[] = "com.kapeli.json";