mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Ivalid check removal, fix unability to add 4-level+ wildcard A records
This commit is contained in:
parent
7a9c937ca1
commit
84d038c473
1 changed files with 0 additions and 5 deletions
|
@ -782,11 +782,6 @@ validate_format_common() {
|
|||
exit $E_INVALID
|
||||
fi
|
||||
if [[ $1 =~ \* ]]; then
|
||||
if [[ ! $1 =~ \*$ ]]; then
|
||||
echo "Error: * can be used only at the end"
|
||||
log_event "$E_INVALID" "$EVENT"
|
||||
exit $E_INVALID
|
||||
fi
|
||||
if [ "$(echo $1 | grep -o '*'|wc -l)" -gt 1 ]; then
|
||||
log_event "$E_INVALID" "$EVENT"
|
||||
echo "Error: * can be used only once"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue