Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1509

ParseAWSErrorFromXmlContent uses the default charset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0, 2.1.3
    • None
    • None

    Description

      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

       

      Attachments

        Activity

          People

            gaul Andrew Gaul
            roded roded
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: