ASF GitHub Bot logged work on CAMEL-13968:

                Author: ASF GitHub Bot
            Created on: 12/Sep/19 11:56
            Start Date: 12/Sep/19 11:56
    Worklog Time Spent: 10m 
      Work Description: Maurice-Betzel commented on pull request #3167: 
CAMEL-13968: resolved HTTP header case sensitivity while parsing
URL: https://github.com/apache/camel/pull/3167
   CAMEL-13968: resolved HTTP header case sensitivity while parsing
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

            Worklog Id:     (was: 311366)
    Remaining Estimate: 3h 50m  (was: 4h)
            Time Spent: 10m

> 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
>            Priority: Major
>              Labels: as2, content-type, http-headers, patch
>         Attachments: EntityParser.java
>   Original Estimate: 4h
>          Time Spent: 10m
>  Remaining Estimate: 3h 50m
> 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

Reply via email to