Import project - Repo by URL - Authentication - Password can not contain a @
Description of the problem
When importing a project by using a repo URL a @ in the password string is not correctly evaluated:
https://username:p@ssword@gitlab.company.com/group/project.git.
Import in progress.
git clone --bare https://*****:*****@gitlab.mydomain.nl/group/project.git
Please wait while we import the repository for you. Refresh at will.
Error
Every import attempt has failed: Error importing repository https://*****:*****@ssword@gitlab.mydomain.nl/group/project.git into xxx/project3
- Cloning into bare repository '[REPOS PATH]/xxx/project3.git'...
fatal: unable to access 'https://*****:*****@ssword@gitlab.mydomain.nl/group/project.git/': Could not resolve host: ssword@gitlab.mydomain.nl
. Please try again.
Could not resolve host: ssword@gitlab.dev-ict.tudelft.nl
Edited by Rob van Laarhoven