aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

BUG in Python Sigv4 code

Open beqqrry-aws opened this issue 2 years ago • 1 comments

What is the issue?

https://docs.aws.amazon.com/en_us/code-samples/latest/catalog/python-signv4-v4-signing-get-querystring.py.html

There's a bug in the code. In line

request_url = endpoint + "?" + canonical_querystring

should be

request_url = endpoint + canonical_uri + "?" + canonical_querystring

Any other related details we should know about?

Reported from SIM.

beqqrry-aws avatar Jul 19 '22 16:07 beqqrry-aws

Add a note to mark for deprecation

beqqrry-aws avatar Jul 19 '22 17:07 beqqrry-aws