Addressable::URI::InvalidURIErrorlib/gitlab/url_sanitizer.rb in parse_url at line 65
Summary
When I try to add mirroring setup Github -> Gitlab it crashes with 500 error
Steps to reproduce
- Go to existing project
- Go to Settings -> Repository
- Add mirroring from address like
ssh://git@github.com:alkuzad/CloseMinimapOnMultiView.git - Select SSH authorization
- Save
Example Project
https://gitlab.com/alkuzad/GithubImportBug
What is the current bug behavior?
Either disallow creation at all or pass, depends on account.
What is the expected correct behavior?
Depends on how it really is - should my account have access to this functionality ? Then it should pass and set importing, if not then whole section should be marked as not available.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Results of GitLab application Check
Possible fixes
Edited by Mark Fletcher