Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(request): remove unescape operation for user-input query params when building canonical querystring #132

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

windmgc
Copy link
Member

@windmgc windmgc commented Oct 15, 2024

Summary

This PR fixes a 403 issue when user-input query params contains some reserved characters for urlencode.

https://konghq.atlassian.net/browse/FTI-6288 is the original report where user failed to call SNS service "Publish" operation to send a message with "+" or "%".

This PR fixes the issue that when the request is being built, query params in AWS API doc'srequestUri will be unescaped, and user-input query params will not getting unescaped when signing request.

Copy link

github-actions bot commented Oct 15, 2024

Luacheck Report

4 tests   4 ✅  0s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit d70bf0e.

♻️ This comment has been updated with latest results.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant