#35033: EmailMessage repeats header if provided via the headers kwargs
--------------------------------+-----------------------------------------
Reporter: Aalekh Patel | Owner: Salvo Polizzi
Type: Bug | Status: assigned
Component: Core (Mail) | Version: dev
Severity: Normal | Resolution:
Keywords: email, headers | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------+-----------------------------------------
Comment (by Florian Apolloner):
When working on the patch, please consider the history of the file:
https://github.com/django/django/commit/5e75678c8b was added to ensure
that `to` in `extra_headers` takes precedence and should have prevented a
duplicate `to` header. Apparently this got broken in
https://github.com/django/django/commit/da82939e5a31dea21a4f4d5085dfcd449fcbed3a
Whatever the final solution is (raising an error if possible is preferred
-- I fear it is not), existing tests and usecases shouldn't break.
--
Ticket URL: <https://code.djangoproject.com/ticket/35033#comment:20>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018ca777b5f7-01db7cdf-f96d-4579-9c43-0d75edf53544-000000%40eu-central-1.amazonses.com.