mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fix passing URLs not ending in /remote.php/webdav
This commit is contained in:
parent
fe023e2229
commit
b72cee2783
@ -149,7 +149,7 @@ void parseOptions( const QStringList& app_args, CmdOptions *options )
|
||||
if(!options->target_url.endsWith("/")) {
|
||||
options->target_url.append("/");
|
||||
}
|
||||
options->target_url.append("remote.php/webdav/");
|
||||
options->target_url.append("remote.php/webdav");
|
||||
}
|
||||
if (options->target_url.startsWith("http"))
|
||||
options->target_url.replace(0, 4, "owncloud");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user