ssh remote with port not matched correctly #380

Closed
opened 2021-07-08 20:45:05 +00:00 by noerw · 0 comments
Member

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 2021-07-08 20:45:05 +00:00
noerw added this to the v0.8.0 milestone 2021-08-24 12:04:16 +00:00
6543 closed this issue 2021-09-06 10:52:35 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#380
No description provided.