mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
87bf3f7a65
* 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. |
||
---|---|---|
.. | ||
cmd | ||
db | ||
pkg | ||
go.mod | ||
go.sum |