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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to