Closed weierophinney closed 3 years ago
Thanks @mannes I forked the repo with your patch, which I patched some more ;-) https://github.com/lvanderree/zend-mime/commit/968599a534155dfd6e9d3c47a4c4753885e5569a
Originally posted by @lvanderree at https://github.com/zendframework/zend-mime/issues/24#issuecomment-291998183
This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself
If you are looking for an actively maintained package alternative, we recommend:
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.
Originally posted by @mannes at https://github.com/zendframework/zend-mime/issues/24