You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sjoerd Brauer (Jira)" <ji...@apache.org> on 2019/09/11 13:27:00 UTC

[jira] [Created] (CAMEL-13968) AS2 component treats http headers case sensitive. According to RFC this should be case insensitive

Sjoerd Brauer created CAMEL-13968:
-------------------------------------

             Summary: 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: Improvement
          Components: camel-as2
    Affects Versions: 3.0.0.RC1, 2.24.1
            Reporter: Sjoerd Brauer
         Attachments: EntityParser.java

The AS2 component treats headers case-sensitive according to the enum's. According to the RFC: [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)