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

hint that buglog['message'] is not necessarily identical to the original message #52

Open
nmartensen opened this issue Aug 22, 2021 · 0 comments

Comments

@nmartensen
Copy link
Contributor

* "message" => email.message.Message

The code in get_bug_log() uses the header and body components delivered by the bts to feed them into a message parser, but ignores that the body component has been parsed and decoded already by the bts. (The issue is not very visible at the moment due to debian bug 853915, but I've now submitted a merge request to fix that.) In particular for multipart messages (messages with attachments, signed messages, etc.), the message body won't contain what the parser expects after reading the header.

It might be a good idea to document this restriction of the 'message' element.

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

No branches or pull requests

1 participant