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
68428a5d
Unverified
Commit
68428a5d
authored
Apr 26, 2019
by
neil
Committed by
GitHub
Apr 26, 2019
Browse files
Merge pull request #2205 from kirpichiki/dns_cf_invalid_domain
CloudFlare dns invalid domain
parents
28694e8a
6e917d15
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cf.sh
View file @
68428a5d
...
...
@@ -182,8 +182,11 @@ _cf_rest() {
data
=
"
$3
"
_debug
"
$ep
"
export
_H1
=
"X-Auth-Email:
$CF_Email
"
export
_H2
=
"X-Auth-Key:
$CF_Key
"
email_trimmed
=
$(
echo
$CF_Email
|
tr
-d
'"'
)
key_trimmed
=
$(
echo
$CF_Key
|
tr
-d
'"'
)
export
_H1
=
"X-Auth-Email:
$email_trimmed
"
export
_H2
=
"X-Auth-Key:
$key_trimmed
"
export
_H3
=
"Content-Type: application/json"
if
[
"
$m
"
!=
"GET"
]
;
then
...
...
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