Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
55369d30
Unverified
Commit
55369d30
authored
Oct 30, 2018
by
neil
Committed by
GitHub
Oct 30, 2018
Browse files
Merge pull request #1867 from evoadmin/patch-1
Update dns_he.sh
parents
b29e21ef
4c1f70af
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_he.sh
View file @
55369d30
...
@@ -92,7 +92,9 @@ dns_he_rm() {
...
@@ -92,7 +92,9 @@ dns_he_rm() {
return
1
return
1
fi
fi
# Remove the record
# Remove the record
body
=
"email=
${
HE_Username
}
&pass=
${
HE_Password
}
"
username_encoded
=
"
$(
printf
"%s"
"
${
HE_Username
}
"
| _url_encode
)
"
password_encoded
=
"
$(
printf
"%s"
"
${
HE_Password
}
"
| _url_encode
)
"
body
=
"email=
${
username_encoded
}
&pass=
${
password_encoded
}
"
body
=
"
$body
&menu=edit_zone"
body
=
"
$body
&menu=edit_zone"
body
=
"
$body
&hosted_dns_zoneid=
$_zone_id
"
body
=
"
$body
&hosted_dns_zoneid=
$_zone_id
"
body
=
"
$body
&hosted_dns_recordid=
$_record_id
"
body
=
"
$body
&hosted_dns_recordid=
$_record_id
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment