mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
Merge pull request #825 from pcfreak30/hotfix/811
Automatically quote DNS records that have special characters BUG FIX
This commit is contained in:
commit
2f967e4dc8
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ fi
|
||||||
|
|
||||||
dvalue=${dvalue//\"/}
|
dvalue=${dvalue//\"/}
|
||||||
|
|
||||||
if [[ "dvalue" =~ [^\;\s] ]]; then
|
if [[ "$dvalue" =~ [\;[:space:]] ]]; then
|
||||||
dvalue='"'"$dvalue"'"'
|
dvalue='"'"$dvalue"'"'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue