Jürgen Link created CAMEL-22037:
-----------------------------------
Summary: 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
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)