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

Headers are copied as case sensitive in MessageContextImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0, 3.3.12, 3.4.5
    • 3.4.6, 3.5.1, 4.0.0
    • JAX-RS
    • None
    • Unknown

    Description

      This copying of the headers in MessageContextImpl creates a case sensitive headers map:

      MultivaluedMap<String, String> rootHeaders = new MetadataMap<>(root.getHeaders());

      This certainly breaks something - I've for example stumbled upon the map containing "Content-Id" header and AttachmentSerializer looking for "Content-ID" and not finding it.

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              Svorc Martin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: