ssh remote with port not matched correctly #380

Closed
opened 5 months ago by noerw · 0 comments
noerw commented 5 months ago
Collaborator

If a repo has a remote URL specified as ssh://git@host:port/user/repo, tea can't match the ssh host of a login to the remote, as it assumes ssh urls like git@host:user/repo and does a string split on :

refs:
https://gitea.com/gitea/tea/src/branch/master/modules/context/context.go#L200
https://daunlord.de/tea.txt
https://discord.com/channels/322538954119184384/756593757801021591/859435904372178944

If a repo has a remote URL specified as `ssh://git@host:port/user/repo`, tea can't match the ssh host of a login to the remote, as it assumes ssh urls like `git@host:user/repo` and does a string split on `:` refs: https://gitea.com/gitea/tea/src/branch/master/modules/context/context.go#L200 https://daunlord.de/tea.txt https://discord.com/channels/322538954119184384/756593757801021591/859435904372178944
noerw added the
kind/bug
label 5 months ago
noerw added this to the v0.8.0 milestone 4 months ago
6543 closed this issue 3 months ago
Sign in to join this conversation.
Loading…
There is no content yet.