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 988882d commit 7436d64Copy full SHA for 7436d64
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')" ]] || ! [[ $1 =~ "." ]]; then
+ if [[ $1 =~ $exclude ]] || [[ $1 =~ ^[0-9]+$ ]] || [[ $1 =~ "\.\." ]] || [[ $1 =~ "$(printf '\t')" ]] || [[ "$1" = "www" ]]; then
627
check_result $E_INVALID "invalid $object_name format :: $1"
628
fi
629
}
0 commit comments