Skip to content

Commit a300379

Browse files
authored
Merge pull request hestiacp#1576 from hestiacp/fix/1498-autoreponder-fix
[Bug] hestiacp#1498 Removed check for invalid chars
2 parents e6bc5c5 + cf4ff0f commit a300379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ is_number_format_valid() {
676676

677677
# Autoreply format validator
678678
is_autoreply_format_valid() {
679-
if [[ "$1" =~ [$|\`] ]] || [ 10240 -le ${#1} ]; then
679+
if [[ 10240 -le ${#1} ]; then
680680
check_result $E_INVALID "invalid autoreply format :: $1"
681681
fi
682682
}

0 commit comments

Comments
 (0)