Skip to content

Conversation

calavera
Copy link
Contributor

@calavera calavera commented Jan 9, 2022

Signed-off-by: David Calavera [email protected]

Issue #, if available:

Fixes #109

Description of changes:

  • Add query strings to the request uri. This ensures that we don't mangle information coming into lambda.
  • Fix bug in StrMapIter that ignored multi-value query parameters. Until now, this iterator only looped over the first element of each key, even if the key had multiple values assigned.
  • Add tests to cover these changes.

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

- Add query strings to the request uri. This ensures that we don't mangle information coming into lambda.
- Fix bug in StrMapIter that ignored multi-value query parameters. Until now, this iterator only looped over the first element of each key, even if the key had multiple values assigned.

Signed-off-by: David Calavera <[email protected]>
Copy link
Contributor

@bahildebrand bahildebrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bahildebrand bahildebrand merged commit 917ed63 into awslabs:master Jan 13, 2022
@calavera calavera deleted the fix_query_strings branch January 13, 2022 03:20
@nmoutschen nmoutschen added the 0.5 label Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Query String not present in Request::uri()

3 participants