Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Support empty query in AWS request #47

Merged
merged 1 commit into from
Nov 19, 2019

Conversation

bookmoons
Copy link
Contributor

Adds support for an empty query string in an AWS request.

Current logic of the awsv4 auth type fails if the request URL has an empty query string. The query becomes undefined and nulls out some later values. Tweaks the logic to correctly handle an empty query.

Closes #46.

@robingustafsson
Copy link
Member

Pardon delay in reviewing. LGTM. Merging.

@robingustafsson robingustafsson merged commit 9187a20 into grafana:master Nov 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unsupported protocol scheme
2 participants