We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc6de9 commit 487cf4cCopy full SHA for 487cf4c
ssh.c
@@ -1,4 +1,4 @@
1
-/* $OpenBSD: ssh.c,v 1.604 2025/02/15 01:48:30 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.605 2025/02/21 18:22:41 deraadt Exp $ */
2
/*
3
* Author: Tatu Ylonen <ylo@cs.hut.fi>
4
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -639,7 +639,7 @@ valid_hostname(const char *s)
639
if (*s == '-')
640
return 0;
641
for (i = 0; s[i] != 0; i++) {
642
- if (strchr("'`\"$\\;&<>|(){}", s[i]) != NULL ||
+ if (strchr("'`\"$\\;&<>|(){},", s[i]) != NULL ||
643
isspace((u_char)s[i]) || iscntrl((u_char)s[i]))
644
645
}
0 commit comments