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

Fix query string handling, add test for S3 list_objects_v2 proxying #55

Merged
merged 3 commits into from
Feb 12, 2024

Conversation

whummer
Copy link
Member

@whummer whummer commented Feb 9, 2024

Fix query string handling, add test for S3 list_objects_v2 proxying.

This is a follow-up to PR #54 which reproduces a customer issue that has been detected in a support call today. Turns out that we were incorrectly parsing the query strings from the incoming request in the proxy. This is reproducible with S3 list_objects_v2, where the input parameters are passed as query params, something like GET /test-bucket-10b298b9?list-type=2&prefix=test%2F&encoding-type=url.

This is now also covered by a small test, to avoid regressions in the future.

@whummer whummer requested a review from lakkeger February 9, 2024 18:22
Copy link
Contributor

@lakkeger lakkeger left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Base automatically changed from proxy-configs to main February 12, 2024 11:58
@whummer whummer merged commit cfdff52 into main Feb 12, 2024
1 check passed
@whummer whummer deleted the fix-query-string branch February 12, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants