You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I acknowledge the upcoming end-of-support for AWS SDK for Java v1 was announced, and migration to AWS SDK for Java v2 is recommended.
Describe the bug
This bug stems from the fact that s3 "urls" dont conform to the url spec, because they allow things like spaces which for urls have to be encoded. While "s3://mybucket/my key+something" is a valid s3 url it is not a valid url/uri.
So final S3Uri s3Uri = s3.utilities().parseUri(URI.create(s3Url)); results in a parse exception. parseUri should probably accept a string instead of a Uri.
Expected Behavior
I should be able to parse any s3 "url" that will resolve to an object in s3.
Current Behavior
Illegal character in path at index 16: s3://mybucket/my key+something
Upcoming End-of-Support
Describe the bug
This bug stems from the fact that s3 "urls" dont conform to the url spec, because they allow things like spaces which for urls have to be encoded. While "s3://mybucket/my key+something" is a valid s3 url it is not a valid url/uri.
So final S3Uri s3Uri = s3.utilities().parseUri(URI.create(s3Url)); results in a parse exception. parseUri should probably accept a string instead of a Uri.
Expected Behavior
I should be able to parse any s3 "url" that will resolve to an object in s3.
Current Behavior
Illegal character in path at index 16: s3://mybucket/my key+something
Reproduction Steps
Possible Solution
parseUri should accept a string.
Additional Information/Context
No response
AWS Java SDK version used
2.20.45
JDK version used
8
Operating System and version
Sonoma
The text was updated successfully, but these errors were encountered: