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

  1. Go to existing project
  2. Go to Settings -> Repository
  3. Add mirroring from address like ssh://git@github.com:alkuzad/CloseMinimapOnMultiView.git
  4. Select SSH authorization
  5. 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 Jan 15, 2018 by Mark Fletcher
Assignee Loading
Time tracking Loading