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

    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment