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.
2 parents f1a6b37 + 0f48ec0 commit b8375c5Copy full SHA for b8375c5
func/main.sh
@@ -532,7 +532,7 @@ is_user_format_valid() {
532
is_domain_format_valid() {
533
object_name=${2-domain}
534
exclude="[!|@|#|$|^|&|*|(|)|+|=|{|}|:|,|<|>|?|_|/|\|\"|'|;|%|\`| ]"
535
- if [[ $1 =~ $exclude ]] || [[ $1 =~ ^[0-9]+$ ]] || [[ $1 =~ "\.\." ]]; then
+ if [[ $1 =~ $exclude ]] || [[ $1 =~ ^[0-9]+$ ]] || [[ $1 =~ "\.\." ]] || [[ $1 =~ "$(printf '\t')" ]]; then
536
check_result $E_INVALID "invalid $object_name format :: $1"
537
fi
538
}
0 commit comments