Przeglądaj źródła

Allow - as autorized keys

Jaap Marcus 5 lat temu
rodzic
commit
faacafc140
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      func/main.sh

+ 1 - 1
func/main.sh

@@ -922,7 +922,7 @@ is_service_format_valid() {
 }
 
 is_hash_format_valid() {
-  if ! [[ "$1" =~ ^[_A-Za-z0-9]{1,32}$ ]]; then
+  if ! [[ "$1" =~ ^[-_A-Za-z0-9]{1,32}$ ]]; then
         check_result $E_INVALID "invalid $2 format :: $1"
     fi    
 }