Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6122

PutS3Object should support national characters in filenames

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0, 1.9.2
    • Extensions
    • None

    Description

      PutS3Object sends the filename in the Content-Disposition HTTP header to S3.
      If the filename contains national characters, then the encoding will be wrong which results in the following error:

      com.amazonaws.services.s3.model.AmazonS3Exception: The request signature we calculated does not match the signature you provided.
      

      (Due to the character encoding error, the S3 client and the server calculate the signature based on different byte sequences.)

      The filename should be URL encoded before sending to S3.

      Attachments

        Issue Links

        Activity

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

          People

            turcsanyip Peter Turcsanyi
            turcsanyip Peter Turcsanyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment