From 57ac1d9ea2688d3f362b23b0e8bfb0e2b19ac7b4 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Fri, 10 Apr 2015 09:24:25 +0200 Subject: [PATCH] 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 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); -- 2.30.2