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

Separate HTTP headers for multiple header values not possible - bug in CXF-3714 fix

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.1, 2.7.16, 3.0.5
    • Component/s: Transports
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      In CXF-3714 a property has been introduced to allow multiple HTTP header values to be added as separate headers.

      But the corresponding fix in
      org.apache.cxf.transport.http.Headers#transferProtocolHeadersToURLConnection
      doesn't look correct. See
      https://fisheye6.atlassian.com/changelog/cxf?cs=6763178c36ae4392344f9e8e1ea3e714ba8a2520

      To me it looks like it should be

      connection.addRequestProperty(header, s)
      

      in transferProtocolHeadersToURLConnection(), instead of

      connection.addRequestProperty(HttpHeaderHelper.COOKIE, s)
      

      .

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              calohmn Carsten Lohmann

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment