Skip to content

Create MboxMessage from self.request.data rather than self.request.data['mbox'] #92

Open
@bonzini

Description

@bonzini

In MessagesViewSet.create, the loop to look for maintainers disregards the recipients specified in the JSON. Instead it parses again the mbox, creating another MboxMessage. This is inefficient and slightly incorrect when the input to POST is not text/plain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions