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 am trying to send the API request to S3 to get the list of files from a bucket.
Sample Endpoint - https://evidences-civil1.s3.amazonaws.com/. There are few files in the bucket having filenames with special characters (eg: [email protected]).
As part of my solution, i am using the S3 SDK to retrieve the data and display them locally but when using this method as below, it does remove the special character from the file like this - Screenshot [email protected].
ListObjectsUnmarshaller unmarshaller = new Unmarshallers.ListObjectsUnmarshaller(true);
return unmarshaller.unmarshall(inputStream);
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
Ideally ListObjectsUnmarshaller.unmarshall should return the same output without sanitizing it.
Current Behavior
There are no relavant errors as such
Reproduction Steps
ListObjectsUnmarshaller unmarshaller = new Unmarshallers.ListObjectsUnmarshaller(true);
return unmarshaller.unmarshall(inputStream);
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
sdk 1.12.520
JDK version used
OpenJDK Runtime Environment Zulu21.30+16-SA
Operating System and version
x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
@vikranthpatoju even though ListObjectsUnmarshaller is public, we don't recommend using any marshaller in isolation outside the client. That's because some of the logic may be written in other stages of the request lifecycle.
In this case, when you call the ListObjectsV2 API, the output is expected:
Describe the bug
I am trying to send the API request to S3 to get the list of files from a bucket.
Sample Endpoint - https://evidences-civil1.s3.amazonaws.com/. There are few files in the bucket having filenames with special characters (eg: [email protected]).
As part of my solution, i am using the S3 SDK to retrieve the data and display them locally but when using this method as below, it does remove the special character from the file like this - Screenshot [email protected].
ListObjectsUnmarshaller unmarshaller = new Unmarshallers.ListObjectsUnmarshaller(true);
return unmarshaller.unmarshall(inputStream);
Regression Issue
Expected Behavior
Ideally ListObjectsUnmarshaller.unmarshall should return the same output without sanitizing it.
Current Behavior
There are no relavant errors as such
Reproduction Steps
ListObjectsUnmarshaller unmarshaller = new Unmarshallers.ListObjectsUnmarshaller(true);
return unmarshaller.unmarshall(inputStream);
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
sdk 1.12.520
JDK version used
OpenJDK Runtime Environment Zulu21.30+16-SA
Operating System and version
x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: