From dcfbde2a675b63e0502d005d18891538580e41c7 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 24 Oct 2018 11:57:08 +0200 Subject: [PATCH] Wizard: Reset the QSslConfiguration before checking the server Because a previous call with another demain might have set some config for another server. Issue #6832 --- src/gui/owncloudsetupwizard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index efffcb6a7..0af0094b5 100644 --- a/src/gui/owncloudsetupwizard.cpp +++ b/src/gui/owncloudsetupwizard.cpp @@ -153,6 +153,8 @@ void OwncloudSetupWizard::slotCheckServer(const QString &urlString) // Reset the proxy which might had been determined previously in ConnectionValidator::checkServerAndAuth() // when there was a previous account. account->networkAccessManager()->setProxy(QNetworkProxy(QNetworkProxy::NoProxy)); + // And also reset the QSslConfiguration, for the same reason (#6832) + account->setSslConfiguration({}); // Lookup system proxy in a thread https://github.com/owncloud/client/issues/2993 if (ClientProxy::isUsingSystemDefault()) { -- 2.30.2