do not construct signature with canonical request path containing query string

This commit is contained in:
Josef Vybíhal 2025-01-12 17:41:01 +01:00
parent 6f7c06342b
commit ef58c37cf3
No known key found for this signature in database
GPG Key ID: 226BC6541A5537BE

View File

@ -155,9 +155,9 @@ _active24_get_service_id() {
_active24_rest() { _active24_rest() {
m=$1 m=$1
ep=$2 ep_qs=$2 # with query string
ep_qs=$ep # ep=$2
#ep=$(printf "%s" "$ep_qs" | cut -d '?' -f1) # no query string ep=$(printf "%s" "$ep_qs" | cut -d '?' -f1) # no query string
data="$3" data="$3"
_debug "A24 $ep" _debug "A24 $ep"
@ -180,7 +180,7 @@ _active24_rest() {
_debug2 H3 "$_H3" _debug2 H3 "$_H3"
_debug2 H4 "$_H4" _debug2 H4 "$_H4"
_sleep 1 # _sleep 1
if [ "$m" != "GET" ]; then if [ "$m" != "GET" ]; then
_debug2 "${m} $Active24_Api${ep_qs}" _debug2 "${m} $Active24_Api${ep_qs}"