mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Merge pull request #88 from serghey-rodin/master
Also checking "" in order to detect manually chunked record
This commit is contained in:
commit
939d2c9f32
1 changed files with 2 additions and 4 deletions
|
@ -417,7 +417,7 @@ update_domain_zone() {
|
|||
txtlength=${#VALUE}
|
||||
if [ $txtlength -gt 255 ]; then
|
||||
already_chunked=0
|
||||
if [[ $VALUE == *"\" \""* ]]; then
|
||||
if [[ $VALUE == *"\" \""* ]] || [[ $VALUE == *"\"\""* ]]; then
|
||||
already_chunked=1
|
||||
fi
|
||||
if [ $already_chunked -eq 0 ]; then
|
||||
|
@ -426,8 +426,6 @@ update_domain_zone() {
|
|||
VALUE=${VALUE:1:txtlength}
|
||||
fi
|
||||
VALUE=$(echo $VALUE | fold -w 255 | xargs -I '$' echo -n '"$"')
|
||||
VALUE=${VALUE:1}
|
||||
VALUE="($VALUE)"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue