waveterm/wavesrv
Sylvie Crowe 87bf3f7a65
allow @ symbol in user for ssh connections (#129)
* allow @ symbol in user for ssh connections

Previously, the @ symbol was only used as a way to either:
- separate the user from the host
- separate "sudo" from the user

This change expands this to allow the username part of
sudo@username@host or username@host to contain any number of @ symbols
in addition to the ones previously allowed. Host is not allowed to
contain an @ symbol as per the usual definition.

* clean up regex changes

Moved the dash in the regex pattern to the end to make it explicitly
clear that it isn't part of a range.

Removed the hostNameRe regex as it is unused.
2023-12-07 18:33:16 -08:00
..
cmd gc was collecting the lockfile early causing it not to work. fixed with runtime.KeepAlive 2023-11-09 16:26:44 -08:00
db new tab colors. also re-implement tab gradients according to figma file 2023-11-01 22:38:37 -07:00
pkg allow @ symbol in user for ssh connections (#129) 2023-12-07 18:33:16 -08:00
go.mod add go.work for helping with VSCode gopls 2023-10-16 19:17:44 -07:00
go.sum add go.work for helping with VSCode gopls 2023-10-16 19:17:44 -07:00