diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-07-20 14:16:30 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-07-20 14:53:31 +0300 |
commit | 420a9bf3d9de547111fa2e316dd11e6e5cc088ac (patch) | |
tree | 47861b7128a4d13b2b8cf4f20aab6f97c9bf0c5d | |
parent | af2d6afded78cb8f5f9e02528dd431dc549c330f (diff) |
Trim user entered urlwork/trim_url
Fixes: #9917
-rw-r--r-- | src/gui/newwizard/pages/serverurlsetupwizardpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/newwizard/pages/serverurlsetupwizardpage.cpp b/src/gui/newwizard/pages/serverurlsetupwizardpage.cpp index 04d82cd59..e72b1649c 100644 --- a/src/gui/newwizard/pages/serverurlsetupwizardpage.cpp +++ b/src/gui/newwizard/pages/serverurlsetupwizardpage.cpp @@ -40,7 +40,7 @@ ServerUrlSetupWizardPage::ServerUrlSetupWizardPage(const QUrl &serverUrl) QString ServerUrlSetupWizardPage::userProvidedUrl() const { - QString url = _ui->urlLineEdit->text(); + QString url = _ui->urlLineEdit->text().simplified(); if (!Theme::instance()->wizardUrlPostfix().isEmpty()) { url += Theme::instance()->wizardUrlPostfix(); |