From: Christian Kamm Date: Fri, 10 Apr 2015 07:24:25 +0000 (+0200) Subject: AuthRedirect: Use the configured DAV path. #3082 X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1803^2~211 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=57ac1d9ea2688d3f362b23b0e8bfb0e2b19ac7b4;p=nextcloud-desktop.git AuthRedirect: Use the configured DAV path. #3082 --- diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp index 4b06f2f1f..e5759b94a 100644 --- a/src/gui/owncloudsetupwizard.cpp +++ b/src/gui/owncloudsetupwizard.cpp @@ -241,7 +241,7 @@ void OwncloudSetupWizard::slotAuthError() // strip the expected path QString path = redirectUrl.path(); - static QString expectedPath = "/remote.php/webdav/"; + static QString expectedPath = "/" + _ocWizard->account()->davPath(); if (path.endsWith(expectedPath)) { path.chop(expectedPath.size()); redirectUrl.setPath(path);