Przeglądaj źródła

Removed check for invalid chars

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

+ 1 - 1
func/main.sh

@@ -676,7 +676,7 @@ is_number_format_valid() {
 
 
 # Autoreply format validator
 # Autoreply format validator
 is_autoreply_format_valid() {
 is_autoreply_format_valid() {
-    if [[ "$1" =~ [$|\`] ]] || [ 10240 -le ${#1} ]; then
+    if [[ 10240 -le ${#1} ]; then
         check_result $E_INVALID "invalid autoreply format :: $1"
         check_result $E_INVALID "invalid autoreply format :: $1"
     fi
     fi
 }
 }