mirror of
https://gitea.com/gitea/tea.git
synced 2026-09-10 07:26:33 -04:00
Use the server URL hostname when a login has no explicit SSHHost configured, so an HTTP(S) port from the Gitea URL is not reused as the SSH endpoint. Add shared SSH host normalization and resolution helpers with tests for host and host:port values. Signed-off-by: GyeongHo Kim <gyeongho.dev@proton.me> |
||
|---|---|---|
| .. | ||
| draft.go | ||
| draft_test.go | ||
| input.go | ||
| parse.go | ||
| parse_test.go | ||
| path.go | ||
| ssh_host.go | ||
| ssh_host_test.go | ||
| utils.go | ||
| validate.go | ||