Skip to content

Commit

Permalink
Don't ignore SSL errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sledgehammer999 committed Sep 19, 2024
1 parent 1c43286 commit eda106f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/base/net/downloadmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,7 @@ Net::DownloadManager::DownloadManager(QObject *parent)
QStringList errorList;
for (const QSslError &error : errors)
errorList += error.errorString();
LogMsg(tr("Ignoring SSL error, URL: \"%1\", errors: \"%2\"").arg(reply->url().toString(), errorList.join(u". ")), Log::WARNING);

// Ignore all SSL errors
reply->ignoreSslErrors();
LogMsg(tr("SSL error, URL: \"%1\", errors: \"%2\"").arg(reply->url().toString(), errorList.join(u". ")), Log::CRITICAL);
});

connect(ProxyConfigurationManager::instance(), &ProxyConfigurationManager::proxyConfigurationChanged
Expand Down

0 comments on commit eda106f

Please sign in to comment.