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

ParseAWSErrorFromXmlContent uses the default charset

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment