Closed
Description
The copySource(String copySource)
method requires the source to be URL-encoded. According to the documentation:
The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded.
In the CopyObject.java
example, this is not being done:
A casual test of the example code will appear to work, but it may fail later when you happen to have a key that contains an unsafe URL character.
Related to aws/aws-sdk-java-v2#1313.
Metadata
Metadata
Assignees
Labels
No labels