Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unescape query strings in lambda #2120

Merged
merged 4 commits into from
Feb 22, 2023

Conversation

joe-elliott
Copy link
Member

What this PR does:
Correctly unescapes parameter values in AWS Lambda

Which issue(s) this PR fixes:
Fixes #2114

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Copy link
Contributor

@zalegrala zalegrala left a comment

Choose a reason for hiding this comment

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

Nice fix, didn't look at the test failure.

@joe-elliott joe-elliott added type/bug Something isn't working backport release-v2.0 labels Feb 22, 2023
@joe-elliott joe-elliott merged commit 161266c into grafana:main Feb 22, 2023
@github-actions
Copy link
Contributor

The backport to release-v2.0 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-2120-to-release-v2.0 origin/release-v2.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 161266cab486765ead60806604b2f42e89506be8
# Push it to GitHub
git push --set-upstream origin backport-2120-to-release-v2.0
git switch main
# Remove the local backport branch
git branch -D backport-2120-to-release-v2.0

Then, create a pull request where the base branch is release-v2.0 and the compare/head branch is backport-2120-to-release-v2.0.

@joe-elliott joe-elliott added this to the v2.0.1 milestone Feb 23, 2023
joe-elliott added a commit that referenced this pull request Feb 23, 2023
* unescape strings in lambda

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

* add tests

Signed-off-by: Joe Elliott <number101010@gmail.com>

* update mod

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
(cherry picked from commit 161266c)
joe-elliott added a commit that referenced this pull request Feb 23, 2023
* unescape strings in lambda

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

* add tests

Signed-off-by: Joe Elliott <number101010@gmail.com>

* update mod

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
(cherry picked from commit 161266c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TraceQL Search against Serverless Returns 400
2 participants