mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
*Strip double quotes and only add back if value has spaces or semicolon
This commit is contained in:
parent
4adbef4517
commit
db9be6d244
1 changed files with 6 additions and 0 deletions
|
@ -49,6 +49,12 @@ if [[ $rtype =~ NS|CNAME|MX|PTR|SRV ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
dvalue=${dvalue//\"/}
|
||||
|
||||
if [[ "dvalue" =~ [^\;\s] ]]; then
|
||||
dvalue='"'"$dvalue"'"'
|
||||
fi
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Verifications #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue