Skip to content

Commit

Permalink
do not construct signature with canonical request path containing que…
Browse files Browse the repository at this point in the history
…ry string
  • Loading branch information
xvybihal committed Jan 12, 2025
1 parent 6f7c063 commit ef58c37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dnsapi/dns_active24.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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}"
Expand Down

0 comments on commit ef58c37

Please sign in to comment.