You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/02/15 20:18:00 UTC

[jira] [Assigned] (CXF-8657) Headers are copied as case sensitive in MessageContextImpl

     [ https://issues.apache.org/jira/browse/CXF-8657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andriy Redko reassigned CXF-8657:
---------------------------------

    Assignee: Andriy Redko

> Headers are copied as case sensitive in MessageContextImpl
> ----------------------------------------------------------
>
>                 Key: CXF-8657
>                 URL: https://issues.apache.org/jira/browse/CXF-8657
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.5.0
>            Reporter: Martin
>            Assignee: Andriy Redko
>            Priority: Major
>
> This copying of the headers in MessageContextImpl creates a case sensitive headers map:
> {{MultivaluedMap<String, String> rootHeaders = {color:#000080}new {color}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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)