From: Markus Goetz Date: Thu, 13 Aug 2015 15:09:39 +0000 (+0200) Subject: Shibboleth: Use sslErrors() handler of rest of client #3593 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1408^2~232 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=01855302a05303ba46e7e002d960c4ac61ff3695;p=nextcloud-desktop.git Shibboleth: Use sslErrors() handler of rest of client #3593 --- diff --git a/src/gui/creds/shibboleth/shibbolethwebview.cpp b/src/gui/creds/shibboleth/shibbolethwebview.cpp index efae1ad87..41567deda 100644 --- a/src/gui/creds/shibboleth/shibbolethwebview.cpp +++ b/src/gui/creds/shibboleth/shibbolethwebview.cpp @@ -52,6 +52,9 @@ ShibbolethWebView::ShibbolethWebView(AccountPtr account, QWidget* parent) connect(page, SIGNAL(loadFinished(bool)), this, SLOT(slotLoadFinished(bool))); + // Make sure to accept the same SSL certificate issues as the regular QNAM we use for syncing + QObject::connect(page->networkAccessManager(), SIGNAL(sslErrors(QNetworkReply*,QList)), + _account.data(), SLOT(slotHandleSslErrors(QNetworkReply*,QList))); // The Account keeps ownership of the cookie jar, it must outlive this webview. account->lendCookieJarTo(page->networkAccessManager());