Import url is blocked: Username needs to start with an alphanumeric character - Azure web app
Summary
Using the auto-generated deployment credentials from an Azure Web App, we are unable to import the git repo into gitlab because auto-generated credentials always start with a '$' in the username, i.e. $someappname
This creates the error:
Import url is blocked: Username needs to start with an alphanumeric character
Steps to reproduce
In Gitlab, New project -> Import project -> git Repo by URL, try using a username that starts with '$'
Example Project
What is the current bug behavior?
We are blocked from importing.
What is the expected correct behavior?
The import would function normally.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.5.3p105 Gem Version: 2.7.6 Bundler Version:1.16.6 Rake Version: 12.3.1 Redis Version: 3.2.12 Git Version: 2.18.1 Sidekiq Version:5.2.3 Go Version: unknown
GitLab information Version: 11.6.4 Revision: 300fef1 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://gitlab.nos.noaa.gov HTTP Clone URL: https://gitlab.nos.noaa.gov/some-group/some-project.git SSH Clone URL: git@gitlab.nos.noaa.gov:some-group/some-project.git Using LDAP: yes Using Omniauth: yes Omniauth Providers: saml
GitLab Shell Version: 8.4.3 Repository storage paths:
- default: /opt/gitlabdata/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)