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 22:14:00 UTC
[jira] [Updated] (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 updated CXF-8657:
------------------------------
Fix Version/s: 3.4.6
3.5.1
4.0.0
> 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, 3.4.5
> Reporter: Martin
> Assignee: Andriy Redko
> Priority: Major
> Fix For: 3.4.6, 3.5.1, 4.0.0
>
>
> 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)