[
https://issues.apache.org/jira/browse/CAMEL-22037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-22037:
--------------------------------
Fix Version/s: 4.10.5
> camel-as2 - In AS2Receiver, line feeds are replaced by CRLF
> -----------------------------------------------------------
>
> Key: CAMEL-22037
> URL: https://issues.apache.org/jira/browse/CAMEL-22037
> Project: Camel
> Issue Type: Bug
> Components: camel-as2
> Affects Versions: 4.11.0
> Reporter: Jürgen Link
> Priority: Major
> Fix For: 4.10.5, 4.12.0
>
>
> We use Apache Camel AS2 libraries in our application to receive and process
> AS2 messages.
> Currently, we tracked down an issue where a client message's signature fails
> to be validated.
> It turns out that the message content contains CRLF line endings in the mime
> part body, while the original message has LF only.
> We were able to verify that replacement LF->CRLF is carried out in
> CanonicalOutputStream, which is used in AS2 implementation to marshal the
> signed entity in SigningUtils::isValid into a byte array.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)