[Pkg-owncloud-commits] [owncloud-client] 64/120: Shibboleth: Use sslErrors() handler of rest of client #3593

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 01855302a05303ba46e7e002d960c4ac61ff3695
Author: Markus Goetz <markus at woboq.com>
Date:   Thu Aug 13 17:09:39 2015 +0200

    Shibboleth: Use sslErrors() handler of rest of client #3593
---
 src/gui/creds/shibboleth/shibbolethwebview.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gui/creds/shibboleth/shibbolethwebview.cpp b/src/gui/creds/shibboleth/shibbolethwebview.cpp
index efae1ad..41567de 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<QSslError>)),
+            _account.data(), SLOT(slotHandleSslErrors(QNetworkReply*,QList<QSslError>)));
 
     // The Account keeps ownership of the cookie jar, it must outlive this webview.
     account->lendCookieJarTo(page->networkAccessManager());

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list