We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0561a21 commit 9fb1152Copy full SHA for 9fb1152
1 file changed
func/main.sh
@@ -479,7 +479,7 @@ is_user_format_valid() {
479
is_domain_format_valid() {
480
object_name=${2-domain}
481
exclude="[!|@|#|$|^|&|*|(|)|+|=|{|}|:|,|<|>|?|_|/|\|\"|'|;|%|\`| ]"
482
- if [[ $1 =~ $exclude ]] || [[ $1 =~ ^[0-9]+$ ]] || [[ $1 =~ \.\. ]]; then
+ if [[ $1 =~ $exclude ]] || [[ $1 =~ ^[0-9]+$ ]] || [[ $1 =~ "\.\." ]]; then
483
check_result $E_INVALID "invalid $object_name format :: $1"
484
fi
485
}
0 commit comments