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 2016/12/11 23:44:40 UTC

[GitHub] incubator-ponymail issue #287: Bug: archiver.py fails when attachment name i...

GitHub user sebbASF opened an issue:

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

    Bug: archiver.py fails when attachment name is not ASCII

    The archiver can fail as follows if an attachment name is not in ascii:
    
    archiver.py", line 85, in parse_attachment
        dispositions = cd.strip().split(";")
    AttributeError: 'Header' object has no attribute 'strip'
    
    This is because part.get("Content-Disposition", None) returns a Header rather than a string if the header contents is not ASCII.

----

----


---
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 #287: Bug: archiver.py fails when attachment name i...

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

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


---
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.
---