mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-08-13 12:33:30 +02:00
DNS_IONOS double sending content type & case sensitive mismatch (#7028)
* double sending content type results in error from ionos * Normalize fulldomain to lowercase in the _ionos_get_record function.
This commit is contained in:
parent
5433ea86c8
commit
a50fad865f
1 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ IONOS_TXT_TTL=60 # minimum accepted by API
|
|||
IONOS_TXT_PRIO=10
|
||||
|
||||
dns_ionos_add() {
|
||||
fulldomain=$1
|
||||
fulldomain="$(echo "$1" | _lower_case)"
|
||||
txtvalue=$2
|
||||
|
||||
if ! _ionos_init; then
|
||||
|
|
@ -34,7 +34,7 @@ dns_ionos_add() {
|
|||
}
|
||||
|
||||
dns_ionos_rm() {
|
||||
fulldomain=$1
|
||||
fulldomain="$(echo "$1" | _lower_case)"
|
||||
txtvalue=$2
|
||||
|
||||
if ! _ionos_init; then
|
||||
|
|
@ -146,7 +146,7 @@ _ionos_rest() {
|
|||
|
||||
if [ "$method" != "GET" ]; then
|
||||
export _H2="Accept: application/json"
|
||||
export _H3="Content-Type: application/json"
|
||||
export _H3=
|
||||
|
||||
_response="$(_post "$data" "$IONOS_API$route" "" "$method" "application/json")"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue