AuthRedirect: Use the configured DAV path. #3082
authorChristian Kamm <kamm@incasoftware.de>
Fri, 10 Apr 2015 07:24:25 +0000 (09:24 +0200)
committerChristian Kamm <kamm@incasoftware.de>
Fri, 10 Apr 2015 07:24:25 +0000 (09:24 +0200)
src/gui/owncloudsetupwizard.cpp

index 4b06f2f1fa9cbd616f2f49c4081a6dbbf0c4f520..e5759b94a2ef64b5482487efb971c5869c28d972 100644 (file)
@@ -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);