Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5383

Trailing semi-colon in Content-Type line of header for MTOM attachments.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.7
    • 2.7.8, 2.6.11
    • None
    • None
    • Unknown

    Description

      In some situations when building the XML for MTOM attachments there will be a trailing semi-colon at the end of the Content-Type line in the header. This is causing some other software suites issues when trying to parse the data.

      For instance:
      Content-Type: application/xop+xml; charset=UTF-8; type="text/xml";

      There shouldn't be a semi-colon after the "type" value as it's the last of the Content-Type key/value pairs.

      On line 129 of AttachmentSerializer you can see how the header gets built up and always adds a semi-colon.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            mrobertsnaic Matt Roberts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: