Skip to content

text/* attachments fail in Django 1.11 #71

@jarcoal

Description

@jarcoal

Django 1.11 made a change to the way text/* files are attached to a message; now it will try and decode the content into utf-8, which will bomb when this library attempts to b64encode it.

There should be a check to see if the content is unicode and then encode it to a string before b64'ing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions