From: Olivier Goffart Date: Wed, 24 Oct 2018 09:57:08 +0000 (+0200) Subject: Wizard: Reset the QSslConfiguration before checking the server X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~453 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dcfbde2a675b63e0502d005d18891538580e41c7;p=nextcloud-desktop.git 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 --- 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()) {