-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
s3: Decode Prefix query param reflected back in response #1901
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1901 +/- ##
========================================
Coverage 92.62% 92.62%
========================================
Files 53 53
Lines 10035 10035
========================================
Hits 9295 9295
Misses 740 740
Continue to review full report at Codecov.
|
Following boto/botocore#726, list_objects will automatically include a encoding-type=url query param. However, the client does not decode all of the response elements properly -- notably, Prefix would remain encoded. Hopefully this will be fixed soon-ish (I've got a patch proposed at boto/botocore#1901) but in the meantime, use the work-around suggested in boto/boto3#816 of unregistering the set_list_objects_encoding_type_url handler. Signed-off-by: Tim Burke <tim.burke@gmail.com>
Anything else I should do to help move this forward? |
It's been a couple years now... Anything I can do to help move this forward? |
Following boto/botocore#726, list_objects will automatically include a encoding-type=url query param. However, the client does not decode all of the response elements properly -- notably, Prefix would remain encoded. Hopefully this will be fixed soon-ish (I've got a patch proposed at boto/botocore#1901) but in the meantime, use the work-around suggested in boto/boto3#816 of unregistering the set_list_objects_encoding_type_url handler. Signed-off-by: Tim Burke <tim.burke@gmail.com>
Hi @tipabu thanks for your patience. I wanted to check in here as we are going through old PRs and this one appears to have fallen off of the radar. I brought this up for discussion with the team, and the consensus was that more information is needed here before moving forward. If this is still a problem that needs addressing, can you create a corresponding issue for tracking? We would like to gather more info on the use cases for this, whether there are workarounds, and possible approaches for addressing the issue. |
Closing as we have not heard back regarding the previous comment. The team can revisit this PR if necessary but as mentioned above, more information is needed and should be provided in a tracking issue for further discussion. |
Otherwise you get inconsistent decoding when working with non-ASCII keys: