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

Attachment Header Content-ID conversion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.7, 2.6.4, 2.7.1
    • JAX-WS Runtime
    • None
    • Unknown

    Description

      I have a migrating problem for headers in attachment.
      For example, the message sent out contains Content-ID:<foo>,
      Content-ID header value is "<foo>" instead of "foo" at server side.

      When creating attachment of the following code:
      org.apache.cxf.attachment.AttachmentUtil.createAttachment(InputStream, InternetHeaders)
      There's a id conversion at first. But in the following header processing, there's no id conversion for Content-ID.

      Since Content-ID conversion is needed for id("new AttachmentImpl(id)"), I think it is also useful for headers.

      Attachments

        1. AttachmentUtil.java.patch
          1 kB
          Jinhua Wang
        2. 04.png
          33 kB
          Jinhua Wang

        Activity

          People

            dkulp Daniel Kulp
            ivywjhua Jinhua Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: