You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Roded Bahat (JIRA)" <ji...@apache.org> on 2019/08/08 08:53:00 UTC

[jira] [Created] (JCLOUDS-1509) ParseAWSErrorFromXmlContent uses the default charset

Roded Bahat created JCLOUDS-1509:
------------------------------------

             Summary: ParseAWSErrorFromXmlContent uses the default charset
                 Key: JCLOUDS-1509
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1509
             Project: jclouds
          Issue Type: Bug
            Reporter: Roded Bahat


ParseAWSErrorFromXmlContent handleError() creates a String from the data byte array using the default charset. This breaks on environment in which the default char set is not UTF-8 causing JClouds to fail refining the AWS exception.

I suspect that the default AWS response charset is UTF-8: [https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html]

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)