You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If messages are sent with the \Zend\Mail\Transport\Sendmail class, all the \r\n in the fields are replaced with \n on *nix. By the time this class is called, the message is already signed. Replacing the CRLF with LF breaks the signature, because the body is altered.
Thank you. I've looked into it. However, I do not think that's what's causing the signature to fail. Reading the specs there should only be one CRLF at the end of the body. When normalizing the newlines I did not take that into account.
If messages are sent with the \Zend\Mail\Transport\Sendmail class, all the \r\n in the fields are replaced with \n on *nix. By the time this class is called, the message is already signed. Replacing the CRLF with LF breaks the signature, because the body is altered.
https://github.com/zendframework/Component_ZendMail/commit/8ed85e366d7fb660f497a62e28e77a24cae61b55#diff-8f01c40475bc8eac96f7c0e891271d05
The text was updated successfully, but these errors were encountered: