You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2019/09/19 07:23:00 UTC
[jira] [Resolved] (CAMEL-13968) AS2 component treats http headers
case sensitive. According to RFC this should be case insensitive
[ https://issues.apache.org/jira/browse/CAMEL-13968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-13968.
--------------------------------------
Resolution: Fixed
> 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: 40m
> Remaining Estimate: 3h 20m
>
> 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.4#803005)