fix regex
authorIan Kelling <iank@fsf.org>
Tue, 2 Jul 2024 17:02:41 +0000 (13:02 -0400)
committerIan Kelling <iank@fsf.org>
Tue, 2 Jul 2024 17:02:41 +0000 (13:02 -0400)
roles/kvmhost/files/simple/usr/local/bin/savannah-virsh

index 12d5e4fea9d4afce814850a35b5d1d86bb2b93ab..5d0471d78f309c7664009901f498b0e72453a9a0 100755 (executable)
@@ -28,7 +28,7 @@
 set -eE -o pipefail
 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
 
-regex='^[a-z. ]*$'
+regex='^[a-z0-9. ]*$'
 
 # restricted ssh does not allow arguments, but they exist in this env variable.
 # The var comes with a leading space, remove it.