Incorrect hostname parsing
- Dominant language
- Vim Script
- Stars
- 35.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
`PlugUpdate` fails with the following message:
```
x myultisnippets:
Invalid URI: git@gitlab.com-me:ironhouzi/myultisnippets.git
Expected: git@gitlab.com:ironhouzi/myultisnippets.git
PlugClean required.
```
The hostname `gitlab.com-me` is an entry in `.ssh/config`, which resolves to gitlab.com using the correct keypair. This is done because I am using two Gitlab accounts on the same machine, and want to define which account is being used for each git repo.
The problem seems to stem from a strict parsing method, that doesn't like the dash (`-`) in the TLD.
------------------------------
**Sorry, I don't have access to my work machine right now, will fill in `:version` as soon as I can.**
```
```
- Type:
- [x] Bug
- [ ] Enhancement
- [ ] Feature Request
- [ ] Question
- OS:
- [ ] All/Other
- [x] Linux
- [ ] OS X
- [ ] Windows
- Vim:
- [ ] Terminal Vim
- [ ] GVim
- [x] Neovim
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.