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

Andrea Cosentino updated CAMEL-13968:
-------------------------------------
    Fix Version/s: 2.25.0

> AS2 component treats http headers case sensitive. According to RFC this 
> should be case insensitive
> --------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-13968
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13968
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-as2
>    Affects Versions: 2.24.1, 3.0.0.RC1
>            Reporter: Sjoerd Brauer
>            Assignee: Andrea Cosentino
>            Priority: Major
>              Labels: as2, content-type, http-headers, patch
>             Fix For: 2.25.0, 3.0.0.RC2
>
>         Attachments: EntityParser.java
>
>   Original Estimate: 4h
>          Time Spent: 0.5h
>  Remaining Estimate: 3.5h
>
> The AS2 component treats headers case-sensitive according to the switch case 
> enum's. According to the RFC this should be case-insensitive: 
> [https://tools.ietf.org/html/rfc7230#section-3.2] 
> Headers should be treated case insensitive. 
> This happens at:
> package org.apache.camel.component.as2.api.entity.EntityParser;
> in the method: parseMultipartSignedEntityBody
>  at line: 487. Specifically the following lines:
> lines: 523,526 and in the switch block that follows
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to