From bbd5ed11428953572b20d92ad82ca73b355faa4a Mon Sep 17 00:00:00 2001
From: Chocobo1
Date: Sun, 23 Apr 2023 15:09:58 +0800
Subject: [PATCH] Switch URLs to https
PR #18876.
---
CONTRIBUTING.md | 2 +-
INSTALL | 2 +-
README.md | 6 +++---
dist/unix/org.qbittorrent.qBittorrent.appdata.xml | 4 ++--
doc/qbittorrent-nox.1 | 2 +-
doc/qbittorrent-nox.1.md | 2 +-
doc/qbittorrent.1 | 2 +-
doc/qbittorrent.1.md | 2 +-
src/app/signalhandler.cpp | 2 +-
src/base/net/dnsupdater.cpp | 4 ++--
src/base/search/searchpluginmanager.cpp | 2 +-
src/gui/aboutdialog.cpp | 4 ++--
src/gui/mainwindow.cpp | 2 +-
src/gui/search/pluginselectdialog.ui | 2 +-
src/gui/stacktracedialog.cpp | 2 +-
src/webui/www/private/index.html | 2 +-
src/webui/www/private/views/about.html | 4 ++--
src/webui/www/private/views/searchplugins.html | 2 +-
18 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 409ff8030..aa94a9c9e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -200,7 +200,7 @@ Following these guidelines helps maintainers and the community understand your s
[coding-guidelines-url]: https://github.com/qbittorrent/qBittorrent/blob/master/CODING_GUIDELINES.md
[coding-guidelines-git-commit-message-url]: https://github.com/qbittorrent/qBittorrent/blob/master/CODING_GUIDELINES.md#10-git-commit-message
[commit-message-fix-issue-example-url]: https://github.com/qbittorrent/qBittorrent/commit/c07cd440cd46345297debb47cb260f8688975f50
-[forum-url]: http://forum.qbittorrent.org/
+[forum-url]: https://forum.qbittorrent.org/
[howto-report-bugs-url]: https://www.chiark.greenend.org.uk/~sgtatham/bugs.html
[how-to-translate-url]: https://github.com/qbittorrent/qBittorrent/wiki/How-to-translate-qBittorrent
[merging-vs-rebasing-url]: https://www.atlassian.com/git/tutorials/merging-vs-rebasing
diff --git a/INSTALL b/INSTALL
index 296dd8a19..b42888d76 100644
--- a/INSTALL
+++ b/INSTALL
@@ -43,7 +43,7 @@ Please ensure you are building with an officially supported configuration when r
will install and execute qBittorrent.
DOCUMENTATION:
-Please note that there is a "Compilation" section at http://wiki.qbittorrent.org.
+Please note that there is a "Compilation" section at https://wiki.qbittorrent.org.
------------------------------------------
sledgehammer999
diff --git a/README.md b/README.md
index 38302e7a6..45c57956f 100644
--- a/README.md
+++ b/README.md
@@ -37,13 +37,13 @@ For more information please visit:
https://www.qbittorrent.org
or our wiki here:
-http://wiki.qbittorrent.org
+https://wiki.qbittorrent.org
Use the forum for troubleshooting before reporting bugs:
-http://forum.qbittorrent.org
+https://forum.qbittorrent.org
Please report any bug (or feature request) to:
-http://bugs.qbittorrent.org
+https://bugs.qbittorrent.org
Official IRC channel:
[#qbittorrent on irc.libera.chat](ircs://irc.libera.chat:6697/qbittorrent)
diff --git a/dist/unix/org.qbittorrent.qBittorrent.appdata.xml b/dist/unix/org.qbittorrent.qBittorrent.appdata.xml
index b303db689..e56ffc716 100644
--- a/dist/unix/org.qbittorrent.qBittorrent.appdata.xml
+++ b/dist/unix/org.qbittorrent.qBittorrent.appdata.xml
@@ -68,9 +68,9 @@
sledgehammer999@qbittorrent.org
The qBittorrent Project
https://www.qbittorrent.org/
- http://bugs.qbittorrent.org/
+ https://bugs.qbittorrent.org/
https://www.qbittorrent.org/donate
- http://forum.qbittorrent.org/
+ https://forum.qbittorrent.org/
https://github.com/qbittorrent/qBittorrent/wiki/How-to-translate-qBittorrent
diff --git a/doc/qbittorrent-nox.1 b/doc/qbittorrent-nox.1
index e982aae84..7398fad50 100644
--- a/doc/qbittorrent-nox.1
+++ b/doc/qbittorrent-nox.1
@@ -42,6 +42,6 @@ number.
8080).
.SH BUGS
.PP
-If you find a bug, please report it at http://bugs.qbittorrent.org
+If you find a bug, please report it at https://bugs.qbittorrent.org
.SH AUTHORS
Christophe Dumez .
diff --git a/doc/qbittorrent-nox.1.md b/doc/qbittorrent-nox.1.md
index 6045099cd..7fd697695 100644
--- a/doc/qbittorrent-nox.1.md
+++ b/doc/qbittorrent-nox.1.md
@@ -38,4 +38,4 @@ the default account user name is "admin" with "adminadmin" as a password.
# BUGS
-If you find a bug, please report it at http://bugs.qbittorrent.org
+If you find a bug, please report it at https://bugs.qbittorrent.org
diff --git a/doc/qbittorrent.1 b/doc/qbittorrent.1
index 765130454..1f683376c 100644
--- a/doc/qbittorrent.1
+++ b/doc/qbittorrent.1
@@ -36,6 +36,6 @@ number.
8080).
.SH BUGS
.PP
-If you find a bug, please report it at http://bugs.qbittorrent.org
+If you find a bug, please report it at https://bugs.qbittorrent.org
.SH AUTHORS
Christophe Dumez .
diff --git a/doc/qbittorrent.1.md b/doc/qbittorrent.1.md
index 3fe7a47d0..44091fe4e 100644
--- a/doc/qbittorrent.1.md
+++ b/doc/qbittorrent.1.md
@@ -33,4 +33,4 @@ FAST extension (mainline) and PeX support (utorrent compatible).
# BUGS
-If you find a bug, please report it at http://bugs.qbittorrent.org
+If you find a bug, please report it at https://bugs.qbittorrent.org
diff --git a/src/app/signalhandler.cpp b/src/app/signalhandler.cpp
index 9eb49e379..36d24bcec 100644
--- a/src/app/signalhandler.cpp
+++ b/src/app/signalhandler.cpp
@@ -96,7 +96,7 @@ namespace
void abnormalExitHandler(const int signum)
{
const char msg[] = "\n\n*************************************************************\n"
- "Please file a bug report at http://bug.qbittorrent.org and provide the following information:\n\n"
+ "Please file a bug report at https://bug.qbittorrent.org and provide the following information:\n\n"
"qBittorrent version: " QBT_VERSION "\n\n"
"Caught signal: ";
const char *sigName = sysSigName[signum];
diff --git a/src/base/net/dnsupdater.cpp b/src/base/net/dnsupdater.cpp
index fb1a588e9..2339c6444 100644
--- a/src/base/net/dnsupdater.cpp
+++ b/src/base/net/dnsupdater.cpp
@@ -217,7 +217,7 @@ void DNSUpdater::processIPUpdateReply(const QString &reply)
if (code == u"badagent")
{
- LogMsg(tr("Dynamic DNS error: qBittorrent was blacklisted by the service, please submit a bug report at http://bugs.qbittorrent.org."),
+ LogMsg(tr("Dynamic DNS error: qBittorrent was blacklisted by the service, please submit a bug report at https://bugs.qbittorrent.org."),
Log::CRITICAL);
m_state = FATAL;
return;
@@ -225,7 +225,7 @@ void DNSUpdater::processIPUpdateReply(const QString &reply)
if (code == u"!donator")
{
- LogMsg(tr("Dynamic DNS error: %1 was returned by the service, please submit a bug report at http://bugs.qbittorrent.org.").arg(u"!donator"_qs),
+ LogMsg(tr("Dynamic DNS error: %1 was returned by the service, please submit a bug report at https://bugs.qbittorrent.org.").arg(u"!donator"_qs),
Log::CRITICAL);
m_state = FATAL;
return;
diff --git a/src/base/search/searchpluginmanager.cpp b/src/base/search/searchpluginmanager.cpp
index e5881bd2c..097c34045 100644
--- a/src/base/search/searchpluginmanager.cpp
+++ b/src/base/search/searchpluginmanager.cpp
@@ -87,7 +87,7 @@ namespace
QPointer SearchPluginManager::m_instance = nullptr;
SearchPluginManager::SearchPluginManager()
- : m_updateUrl(u"http://searchplugins.qbittorrent.org/nova3/engines/"_qs)
+ : m_updateUrl(u"https://searchplugins.qbittorrent.org/nova3/engines/"_qs)
{
Q_ASSERT(!m_instance); // only one instance is allowed
m_instance = this;
diff --git a/src/gui/aboutdialog.cpp b/src/gui/aboutdialog.cpp
index c54697b2d..701313488 100644
--- a/src/gui/aboutdialog.cpp
+++ b/src/gui/aboutdialog.cpp
@@ -60,8 +60,8 @@ AboutDialog::AboutDialog(QWidget *parent)
u"%2\n\n"
u""
u"
"_qs
.arg(tr("An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar.")
diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
index 3a554e08b..befe5cd00 100644
--- a/src/gui/mainwindow.cpp
+++ b/src/gui/mainwindow.cpp
@@ -733,7 +733,7 @@ void MainWindow::updateNbTorrents()
void MainWindow::on_actionDocumentation_triggered() const
{
- QDesktopServices::openUrl(QUrl(u"http://doc.qbittorrent.org"_qs));
+ QDesktopServices::openUrl(QUrl(u"https://doc.qbittorrent.org"_qs));
}
void MainWindow::tabChanged(int newTab)
diff --git a/src/gui/search/pluginselectdialog.ui b/src/gui/search/pluginselectdialog.ui
index a2275dbc3..7bd9d57d8 100644
--- a/src/gui/search/pluginselectdialog.ui
+++ b/src/gui/search/pluginselectdialog.ui
@@ -93,7 +93,7 @@
- You can get new search engine plugins here: <a href="http://plugins.qbittorrent.org">http://plugins.qbittorrent.org</a>
+ You can get new search engine plugins here: <a href="https://plugins.qbittorrent.org">https://plugins.qbittorrent.org</a>
true
diff --git a/src/gui/stacktracedialog.cpp b/src/gui/stacktracedialog.cpp
index 05b4218fb..85d83697b 100644
--- a/src/gui/stacktracedialog.cpp
+++ b/src/gui/stacktracedialog.cpp
@@ -57,7 +57,7 @@ void StacktraceDialog::setText(const QString &signalName, const QString &stacktr
""
""
"Please file a bug report at "
- "http://bugs.qbittorrent.org "
+ "https://bugs.qbittorrent.org "
"and provide the following information:"
"
"
" "
diff --git a/src/webui/www/private/index.html b/src/webui/www/private/index.html
index d9c0c60e8..9490c6963 100644
--- a/src/webui/www/private/index.html
+++ b/src/webui/www/private/index.html
@@ -92,7 +92,7 @@
QBT_TR(Help)QBT_TR[CONTEXT=MainWindow]
diff --git a/src/webui/www/private/views/about.html b/src/webui/www/private/views/about.html
index 9f8a728ed..a86f5a6f4 100644
--- a/src/webui/www/private/views/about.html
+++ b/src/webui/www/private/views/about.html
@@ -13,11 +13,11 @@
QBT_TR(Bug Tracker:)QBT_TR[CONTEXT=AboutDialog]
- http://bugs.qbittorrent.org
+ https://bugs.qbittorrent.org
QBT_TR(Forum:)QBT_TR[CONTEXT=AboutDialog]
- http://forum.qbittorrent.org
+ https://forum.qbittorrent.org
diff --git a/src/webui/www/private/views/searchplugins.html b/src/webui/www/private/views/searchplugins.html
index 6a097cbd3..9bb73c2ca 100644
--- a/src/webui/www/private/views/searchplugins.html
+++ b/src/webui/www/private/views/searchplugins.html
@@ -63,7 +63,7 @@
QBT_TR(Warning: Be sure to comply with your country's copyright laws when downloading torrents from any of these search engines.)QBT_TR[CONTEXT=PluginSelectDlg]
- QBT_TR(You can get new search engine plugins here:)QBT_TR[CONTEXT=PluginSelectDlg] http://plugins.qbittorrent.org
+ QBT_TR(You can get new search engine plugins here:)QBT_TR[CONTEXT=PluginSelectDlg] https://plugins.qbittorrent.org
QBT_TR(Install new plugin)QBT_TR[CONTEXT=PluginSelectDlg]
QBT_TR(Check for updates)QBT_TR[CONTEXT=PluginSelectDlg]
--
2.11.4.GIT