[Pkg-owncloud-commits] [owncloud-client] 87/159: AuthRedirect: Use the configured DAV path. #3082

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri May 1 13:05:26 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 57ac1d9ea2688d3f362b23b0e8bfb0e2b19ac7b4
Author: Christian Kamm <kamm at incasoftware.de>
Date:   Fri Apr 10 09:24:25 2015 +0200

    AuthRedirect: Use the configured DAV path. #3082
---
 src/gui/owncloudsetupwizard.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/owncloudsetupwizard.cpp b/src/gui/owncloudsetupwizard.cpp
index 4b06f2f..e5759b9 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);

-- 
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