From ef58c37cf3caddc089c4c699d4bb745f000456d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Vyb=C3=ADhal?= Date: Sun, 12 Jan 2025 17:41:01 +0100 Subject: [PATCH] do not construct signature with canonical request path containing query string --- dnsapi/dns_active24.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dnsapi/dns_active24.sh b/dnsapi/dns_active24.sh index 5ee26782..54648837 100755 --- a/dnsapi/dns_active24.sh +++ b/dnsapi/dns_active24.sh @@ -155,9 +155,9 @@ _active24_get_service_id() { _active24_rest() { m=$1 - ep=$2 - ep_qs=$ep - #ep=$(printf "%s" "$ep_qs" | cut -d '?' -f1) # no query string + ep_qs=$2 # with query string + # ep=$2 + ep=$(printf "%s" "$ep_qs" | cut -d '?' -f1) # no query string data="$3" _debug "A24 $ep" @@ -180,7 +180,7 @@ _active24_rest() { _debug2 H3 "$_H3" _debug2 H4 "$_H4" - _sleep 1 + # _sleep 1 if [ "$m" != "GET" ]; then _debug2 "${m} $Active24_Api${ep_qs}"