1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Forgot the letter i in the valid_digits

This commit is contained in:
Nicolas Viennot 2019-11-17 18:44:59 -05:00
parent e1a5e08471
commit 43214648f2

View File

@ -136,8 +136,8 @@ static void ssh_echo(struct tmate_ssh_client *ssh_client,
* Note: get_socket_path() replaces '/' and '.' by '_' to * Note: get_socket_path() replaces '/' and '.' by '_' to
* avoid wondering around the file system. * avoid wondering around the file system.
*/ */
static char valid_digits[] = "abcdefghjklmnopqrstuvwxyz" static char valid_digits[] = "abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHJKLMNOPQRSTUVWXYZ" "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"0123456789-_/"; "0123456789-_/";
int tmate_validate_session_token(const char *token) int tmate_validate_session_token(const char *token)