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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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

                Slack

                  Issue deployment