Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of missing 'content-transfer-encoding' header #137

Merged
merged 1 commit into from
May 10, 2017
Merged

Fix handling of missing 'content-transfer-encoding' header #137

merged 1 commit into from
May 10, 2017

Conversation

sumpfralle
Copy link
Contributor

Closes: #136

Python's email module raises a KeyError if the header 'content-transfer-encoding' is missing: https://bugs.python.org/issue27321

This changeset uses None as return values (combined with a logging warning) for invalid incoming mails.
Please verify, if this failure handling is in line with the rest of the code.

Closes: #136

Python's email module raises a KeyError if the header
'content-transfer-encoding' is missing:
  https://bugs.python.org/issue27321
@ad-m ad-m merged commit 89b2d3a into coddingtonbear:master May 10, 2017
@ad-m
Copy link
Collaborator

ad-m commented May 10, 2017

@sumpfralle , thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants