Open dmoini opened 1 year ago
I have learned that this is intentional. To work around this issue, you just need to replace all space characters with %20
. Closing this issue.
Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Re-open this issue to support unencoded String in S3Utilities.parseUri
Describe the bug
I currently have an S3 object with the S3 URI
s3://test-bucket/test file with spaces
. When I attempt to create anS3Uri
object with theparseUri()
method (code), I receive the following exception:This is due to the URI constructor, specifically because it does not allow input strings to have spaces in them. However, valid S3 URIs can contain spaces in them.
Expected Behavior
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.0
JDK version used
8
Operating System and version
macOS 12.6.5