Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-799

multipart-provider does not respect header charset in body parts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 2.3.4.Final
    • None
    • None

    Description

      InputPart.getHeaders() returns the list of headers for the given input part. However, the charset used for encoding the header values is not respected.

      The 'Content-Disposition' header of a multipart/form-data request may specific a parameter 'charset'. The headers of the body parts should be parsed using this charset.

      For example, in a file upload using a multipart/form-data request the file name is specified as parameter 'filename' of the body part's 'Content-Disposition' header. Since the header encoding is not respected, Non-ASCII characters in the filename are not handled properly.

      Attachments

        Issue Links

          Activity

            People

              patriot1burke@gmail.com Bill Burke (Inactive)
              Martin.Bonato@prime-sign.com Martin Bonato (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: