Skip to content

Commit

Permalink
Update AS4IncomingHandler.java fix wrong comparing method
Browse files Browse the repository at this point in the history
  • Loading branch information
mmpaszkowski authored Nov 15, 2023
1 parent f2ca48a commit 72673b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ private static void _decompressAttachments (@Nonnull final ICommonsList <WSS4JAt
// href
final Ebms3PartInfo aPartInfo = CollectionHelper.findFirst (aUserMessage.getPayloadInfo ().getPartInfo (),
x -> x.getHref () != null &&
x.getHref ().contains (sAttachmentContentID));
(x.getHref ().equals(sAttachmentContentID) || x.getHref ().equals("cid:" + sAttachmentContentID)));
if (aPartInfo != null && aPartInfo.getPartProperties () != null)
{
// Find MimeType property
Expand Down

0 comments on commit 72673b6

Please sign in to comment.