We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6eb4bc commit 988882dCopy full SHA for 988882d
func/main.sh
@@ -623,7 +623,7 @@ is_user_format_valid() {
623
is_domain_format_valid() {
624
object_name=${2-domain}
625
exclude="[!|@|#|$|^|&|*|(|)|+|=|{|}|:|,|<|>|?|_|/|\|\"|'|;|%|\`| ]"
626
- if [[ $1 =~ $exclude ]] || [[ $1 =~ ^[0-9]+$ ]] || [[ $1 =~ "\.\." ]] || [[ $1 =~ "$(printf '\t')" ]]; then
+ if [[ $1 =~ $exclude ]] || [[ $1 =~ ^[0-9]+$ ]] || [[ $1 =~ "\.\." ]] || [[ $1 =~ "$(printf '\t')" ]] || ! [[ $1 =~ "." ]]; then
627
check_result $E_INVALID "invalid $object_name format :: $1"
628
fi
629
}
0 commit comments