mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-25 23:57:17 +00:00
Trim leading colon from ssh repository path
This commit is contained in:
parent
ef6389ad50
commit
fbabe855ad
@ -51,6 +51,7 @@ static int gen_proto(git_buf *request, const char *cmd, const char *url)
|
||||
repo = strchr(url, '/');
|
||||
} else {
|
||||
repo = strchr(url, ':');
|
||||
repo++;
|
||||
}
|
||||
|
||||
if (!repo) {
|
||||
|
Loading…
Reference in New Issue
Block a user