]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Shibboleth: Fix detection in account wizard #5138
authorChristian Kamm <mail@ckamm.de>
Fri, 26 Aug 2016 10:56:36 +0000 (12:56 +0200)
committerChristian Kamm <mail@ckamm.de>
Fri, 26 Aug 2016 10:58:06 +0000 (12:58 +0200)
Following redirections generally
(bb5c2cbfa571e0d557853fec8d548f4b6d53a698) meant that the special
shib-redirection detection code was no longer being used.

src/gui/owncloudsetupwizard.cpp

index d165ae036c681ab524c0ce50d72fbb8c87552339..c3deac6f51d188858f47818390583bb04e488060 100644 (file)
@@ -508,6 +508,10 @@ DetermineAuthTypeJob::DetermineAuthTypeJob(AccountPtr account, QObject *parent)
     : AbstractNetworkJob(account, QString(), parent)
     , _redirects(0)
 {
+    // This job implements special redirect handling to detect redirections
+    // to pages that are indicative of Shibboleth-using servers. Hence we
+    // disable the standard job redirection handling here.
+    _followRedirects = false;
 }
 
 void DetermineAuthTypeJob::start()