Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13968

AS2 component treats http headers case sensitive. According to RFC this should be case insensitive

    XMLWordPrintableJSON

Details

    • Novice

    Description

      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

       

      Attachments

        1. EntityParser.java
          53 kB
          Sjoerd Brauer

        Activity

          People

            acosentino Andrea Cosentino
            sbraus Sjoerd Brauer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Time Spent - 40m Remaining Estimate - 3h 20m
                3h 20m
                Logged:
                Time Spent - 40m Remaining Estimate - 3h 20m
                40m