User Details
User Details
- User Since
- Jun 17 2016, 8:46 AM (511 w, 4 d)
Jul 29 2016
Jul 29 2016
ThunderKey added a comment to T1311: Invalid MIME encoding in the title of an attachement leads to a crash of the syncroton.
Since we had to remove the e-mail to get the sync to work again I had to recreate it.
Jun 17 2016
Jun 17 2016
ThunderKey added a comment to T1311: Invalid MIME encoding in the title of an attachement leads to a crash of the syncroton.
The specified line with the clean() call is the same. The only difference in the files is that the messageClass gets a suffix for encrypted messages:
322,323c322,333
< // @TODO: add messageClass suffix for encrypted messages
< $result['messageClass'] = 'IPM.Note';
---
> if ($headers->ctype == 'multipart/signed'
> && count($message->attachments) == 1 && $message->attachments[0]->mimetype == 'application/pkcs7-signature'
> ) {
> $result['messageClass'] = 'IPM.Note.SMIME.MultipartSigned';
> }
> else if ($headers->ctype == 'application/pkcs7-mime' || $headers->ctype == 'application/x-pkcs7-mime') {
> $result['messageClass'] = 'IPM.Note.SMIME';
> }
> else {
> $result['messageClass'] = 'IPM.Note';
> }
>ThunderKey added a comment to T1311: Invalid MIME encoding in the title of an attachement leads to a crash of the syncroton.
Thank you for your fast response.