You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2017/03/18 23:17:24 UTC

[GitHub] incubator-ponymail issue #366: Bug: may corrupt 8bit message source if it is...

GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/366

    Bug: may corrupt 8bit message source if it is not encoded in UTF-8

    The code currently unconditionally converts the parsed message bytes to UTF-8 before storage in the mbox_source index.
    
    This can corrupt messages sent using 8bit transport if they contain data which is not compatible with UTF-8. For example non-ASCII characters.
    
    This affects the display of message sources as well as mbox download.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #366: Bug: may corrupt 8bit message source if it is...

Posted by sebbASF <gi...@git.apache.org>.
Github user sebbASF commented on the issue:

    https://github.com/apache/incubator-ponymail/issues/366
  
    If the source is in ASCII, then it can be stored safely; it is only bytes outside the ASCII range that may get corrupted by encoding/decoding.
    
    Since many emails are ASCII only, it makes sense to only use base64 for those


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #366: Bug: may corrupt 8bit message source if it is...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the issue at:

    https://github.com/apache/incubator-ponymail/issues/366


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---