Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2017-10-19 11:54:46 +0300
committerckamm <mail@ckamm.de>2017-10-24 10:42:08 +0300
commitf3ea37508321d427674b557cd7b79659129597af (patch)
tree2a0e96823714cff0fb60b5304079bc362214dfeb /src/gui/owncloudsetupwizard.h
parent15b02547e84de5fdbc3fa4a58899bad04b34df69 (diff)
Wizard: Resolve url/ redirects only if url/status.php not found
Unfortunately checking the base-url for redirects in all cases lead to incorrect behavior in some SAML/OAuth2 edge cases. This new iteration checks the base url for redirects only if the standard CheckServerJob can't reach the server. That way the 2.3 behavior is only changed in cases that would have lead to errors. See #5954
Diffstat (limited to 'src/gui/owncloudsetupwizard.h')
-rw-r--r--src/gui/owncloudsetupwizard.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/gui/owncloudsetupwizard.h b/src/gui/owncloudsetupwizard.h
index 28fa884fa..a663af761 100644
--- a/src/gui/owncloudsetupwizard.h
+++ b/src/gui/owncloudsetupwizard.h
@@ -49,12 +49,16 @@ signals:
void ownCloudWizardDone(int);
private slots:
- void slotDetermineAuthType(const QString &);
+ void slotCheckServer(const QString &);
void slotSystemProxyLookupDone(const QNetworkProxy &proxy);
- void slotContinueDetermineAuth();
- void slotOwnCloudFoundAuth(const QUrl &, const QJsonObject &);
- void slotNoOwnCloudFoundAuth(QNetworkReply *reply);
- void slotNoOwnCloudFoundAuthTimeout(const QUrl &url);
+
+ void slotFindServer();
+ void slotFindServerBehindRedirect();
+ void slotFoundServer(const QUrl &, const QJsonObject &);
+ void slotNoServerFound(QNetworkReply *reply);
+ void slotNoServerFoundTimeout(const QUrl &url);
+
+ void slotDetermineAuthType();
void slotConnectToOCUrl(const QString &);
void slotAuthError();