{"action":"opened","issue":{"url":"https://api.github.com/repos/kndt84/aws-api-gateway-client/issues/43","repository_url":"https://api.github.com/repos/kndt84/aws-api-gateway-client","labels_url":"https://api.github.com/repos/kndt84/aws-api-gateway-client/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/kndt84/aws-api-gateway-client/issues/43/comments","events_url":"https://api.github.com/repos/kndt84/aws-api-gateway-client/issues/43/events","html_url":"https://github.com/kndt84/aws-api-gateway-client/issues/43","id":268182529,"number":43,"title":"Sigv4 Client does not sign requests correctly when there are special characters","user":{"login":"Sara-lily","id":3921086,"avatar_url":"https://avatars1.githubusercontent.com/u/3921086?v=4","gravatar_id":"","url":"https://api.github.com/users/Sara-lily","html_url":"https://github.com/Sara-lily","followers_url":"https://api.github.com/users/Sara-lily/followers","following_url":"https://api.github.com/users/Sara-lily/following{/other_user}","gists_url":"https://api.github.com/users/Sara-lily/gists{/gist_id}","starred_url":"https://api.github.com/users/Sara-lily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sara-lily/subscriptions","organizations_url":"https://api.github.com/users/Sara-lily/orgs","repos_url":"https://api.github.com/users/Sara-lily/repos","events_url":"https://api.github.com/users/Sara-lily/events{/privacy}","received_events_url":"https://api.github.com/users/Sara-lily/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T20:55:00Z","updated_at":"2017-10-24T20:55:00Z","closed_at":null,"author_association":"NONE","body":"We've been using this client for some time now and have just run into an issue with special characters.  Our API Gateway requests are of the form:\r\n\r\nhttps://api-url/stage/method/*/*\r\nhttps://api-url/stage/method?query-params\r\n\r\nWe've recently needed to add IAM for authorizing these requests and when doing so, we recieve the following message as a response from API Gateway:\r\n\r\n\"message\":\"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.\"\r\n\r\nWhen we exchange the '*'s with other alpha-numeric characters, everything works correctly.  When we move the query params into the additional parameters section and remove the '?' everything works fine as well.\r\n\r\nIs there some way to fix the signing so that it can handle these special characters?  Is there something I'm missing in getting this to work?"}}
{"actor":{"display_login":"Sara-lily"}}