This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
MTOM messages with binary message-parts mallformed after splitMime #24
Open
Description
After the splitMime function the content of a message containing a messagepart in binary (using with MTOM xop:Include) will get malformed. In my case a PDF becomes pretty much unreadable (still valid PDF but all images and markup are broken)
I'm pretty sure it's this line causing the problem
https://github.com/zendframework/zend-mime/blob/master/src/Decode.php#L30
It discards any \r character in the entire message, changing the content of the binary attachment and breaking it.
Metadata
Metadata
Assignees
Labels
No labels