Cannot access Azure DevOps git repo with space in project name
Created by: abeyerpath
- Sourcegraph version: 3.2.0
- Platform information: Ubunutu 18.04 Docker 18.06.1-ce
Steps to reproduce:
- Use "Single Git repositories" external service to configure access to Azure DevOps git repos via ssh
- Add project/repo path containing a space
{
"url": "ssh://[email protected]/v3/MyOrg/",
"repos": [
"Project1/RepoName",
"Project 2/AnotherRepo"
]
}
Expected behavior:
Both repos available in sourcegraph
Actual behavior:
Both repos clone and index, become available for search and will generate search results.
"Project1/RepoName" works correctly. However for "Project 2/AnotherRepo", with a space in project name, all links to blob paths for individual files/folders as well as the repo settings page give "Repository not found" errors.