2024-12-24 - Ensure that $PDNS_Url has no trailing slash ('/'). (#6171)

This commit is contained in:
Andrew V. authored and GitHub committed 2026-07-10 20:36:42 +08:00
1 parent 2058a77d83
commit 98c30912fb
1 file changed
+3
+3
View File
@@ -50,6 +50,9 @@ dns_pdns_add() {
PDNS_Ttl="$DEFAULT_PDNS_TTL" PDNS_Ttl="$DEFAULT_PDNS_TTL"
fi fi
# Ensure PDNS_Url has no trailing slash ('/')
PDNS_Url="${PDNS_Url%/}"
#save the api addr and key to the account conf file. #save the api addr and key to the account conf file.
_saveaccountconf_mutable PDNS_Url "$PDNS_Url" _saveaccountconf_mutable PDNS_Url "$PDNS_Url"
_saveaccountconf_mutable PDNS_ServerId "$PDNS_ServerId" _saveaccountconf_mutable PDNS_ServerId "$PDNS_ServerId"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.