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

ParseAWSErrorFromXmlContent uses the default charset

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0, 2.1.3
    • Component/s: None
    • Labels:
      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

            • Assignee:
              gaul Andrew Gaul
              Reporter:
              roded Roded Bahat
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: