mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 20:12:47 +00:00
2024-12-24 - Ensure that $PDNS_Url has no trailing slash ('/').
This commit is contained in:
parent
f981c782bb
commit
ac212997dd
@ -50,6 +50,9 @@ dns_pdns_add() {
|
||||
PDNS_Ttl="$DEFAULT_PDNS_TTL"
|
||||
fi
|
||||
|
||||
# Ensure PDNS_Url has no trailing slash ('/')
|
||||
PDNS_Url="${PDNS_Url%/}"
|
||||
|
||||
#save the api addr and key to the account conf file.
|
||||
_saveaccountconf_mutable PDNS_Url "$PDNS_Url"
|
||||
_saveaccountconf_mutable PDNS_ServerId "$PDNS_ServerId"
|
||||
|
Loading…
x
Reference in New Issue
Block a user