[GitHub] sebbASF commented on issue #463: Bug: Archiver#msgbody: poor handling of conversion to string

2018-05-25 Thread GitBox
sebbASF commented on issue #463: Bug: Archiver#msgbody: poor handling of conversion to string URL: https://github.com/apache/incubator-ponymail/issues/463#issuecomment-392104749 Note that a successful decode will change type(body) to str, so the first charset will be used if it succeeds.

[GitHub] sebbASF commented on issue #463: Bug: Archiver#msgbody: poor handling of conversion to string

2018-05-25 Thread GitBox
sebbASF commented on issue #463: Bug: Archiver#msgbody: poor handling of conversion to string URL: https://github.com/apache/incubator-ponymail/issues/463#issuecomment-392104749 If the code is fixed to apply only a single charset, this may affect the output and thus the generated message

[GitHub] sebbASF commented on issue #462: Bug: archiver.py: convertToWrapped expects bytes

2018-05-25 Thread GitBox
sebbASF commented on issue #462: Bug: archiver.py: convertToWrapped expects bytes URL: https://github.com/apache/incubator-ponymail/issues/462#issuecomment-392098583 Fixing this changes the generated message ids for the applicable messages. Also, the reformatted result has line breaks i

[GitHub] sebbASF opened a new issue #463: Bug: Archiver#msgbody: poor handling of conversion to string

2018-05-25 Thread GitBox
sebbASF opened a new issue #463: Bug: Archiver#msgbody: poor handling of conversion to string URL: https://github.com/apache/incubator-ponymail/issues/463 The method msgbody returns a string. This is converted here: https://github.com/apache/incubator-ponymail/blob/ec0a76eb8b6836a36

[GitHub] asfgit closed issue #461: Bug: archiver.py can never detect content-type: flowed

2018-05-25 Thread GitBox
asfgit closed issue #461: Bug: archiver.py can never detect content-type: flowed URL: https://github.com/apache/incubator-ponymail/issues/461 This is an automated message from the Apache Git Service. To respond to the message

[GitHub] sebbASF opened a new issue #462: Bug: archiver.py: convertToWrapped expects bytes

2018-05-25 Thread GitBox
sebbASF opened a new issue #462: Bug: archiver.py: convertToWrapped expects bytes URL: https://github.com/apache/incubator-ponymail/issues/462 convertToWrapped is being called incorrectly; it expects bytes. https://github.com/apache/incubator-ponymail/blob/ec0a76eb8b6836a3675800a658

[GitHub] sebbASF opened a new issue #461: Bug: archiver.py can never detect content-type: flowed

2018-05-25 Thread GitBox
sebbASF opened a new issue #461: Bug: archiver.py can never detect content-type: flowed URL: https://github.com/apache/incubator-ponymail/issues/461 The code to detect content-type: flowed is here: https://github.com/apache/incubator-ponymail/blob/ec0a76eb8b6836a3675800a65829a48fe90