We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa8cf76 commit 92d37f6Copy full SHA for 92d37f6
dnsapi/dns_porkbun.sh
@@ -134,7 +134,7 @@ _porkbun_rest() {
134
api_key_trimmed=$(echo "$PORKBUN_API_KEY" | tr -d '"')
135
secret_api_key_trimmed=$(echo "$PORKBUN_SECRET_API_KEY" | tr -d '"')
136
137
- test -z "$data" && data="{" || data="$(echo $data | cut -d'}' -f1),"
+ test -z "$data" && data="{" || data="$(echo "$data" | cut -d'}' -f1),"
138
data="$data\"apikey\":\"$api_key_trimmed\",\"secretapikey\":\"$secret_api_key_trimmed\"}"
139
140
export _H1="Content-Type: application/json"
0 commit comments