Browse Source
Merge pull request #2205 from kirpichiki/dns_cf_invalid_domain
CloudFlare dns invalid domain
pull/2232/head
neil
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
dnsapi/dns_cf.sh
|
@ -182,8 +182,11 @@ _cf_rest() { |
|
|
data="$3" |
|
|
data="$3" |
|
|
_debug "$ep" |
|
|
_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" |
|
|
export _H3="Content-Type: application/json" |
|
|
|
|
|
|
|
|
if [ "$m" != "GET" ]; then |
|
|
if [ "$m" != "GET" ]; then |
|
|