зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #3832 from nextcloud/bugfix/incorrect-cmd-client-dbname
Fix incorrect db name for nextcloud command line client.
This commit is contained in:
Коммит
c521ca0949
|
@ -350,7 +350,7 @@ int main(int argc, char **argv)
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
QUrl hostUrl = QUrl::fromUserInput(options.target_url);
|
||||
QUrl hostUrl = QUrl::fromUserInput((options.target_url.endsWith(QLatin1Char('/')) || options.target_url.endsWith(QLatin1Char('\\'))) ? options.target_url.chopped(1) : options.target_url);
|
||||
|
||||
// Order of retrieval attempt (later attempts override earlier ones):
|
||||
// 1. From URL
|
||||
|
|
Загрузка…
Ссылка в новой задаче