Browse Source

Missing quotes

pull/953/head
Ondrej Simek 7 years ago
parent
commit
1546b7e5a9
  1. 2
      dnsapi/dns_he.sh

2
dnsapi/dns_he.sh

@ -126,7 +126,7 @@ _find_zone() {
body="email=${HE_Username}&pass=${HE_Password}" body="email=${HE_Username}&pass=${HE_Password}"
# TODO arrays aren't supported in POSIX sh # TODO arrays aren't supported in POSIX sh
_all_zones=($(_post $body "https://dns.he.net/" \
_all_zones=($(_post "$body" "https://dns.he.net/" \
| _egrep_o "delete_dom.*name=\"[^\"]+\" value=\"[0-9]+" \ | _egrep_o "delete_dom.*name=\"[^\"]+\" value=\"[0-9]+" \
| cut -d '"' -f 3,5 --output-delimiter=":" | cut -d '"' -f 3,5 --output-delimiter=":"
)) ))

Loading…
Cancel
Save