#3378: In "mailto:" URL, if no In-Reply-To header, References header is ignored ------------------------------+--------------------------------------------- Reporter: anto...@… | Owner: mutt-dev Type: defect | Status: new Priority: trivial | Milestone: Component: mutt | Version: 1.5.20 Keywords: patch | ------------------------------+--------------------------------------------- Forwarding from http://bugs.debian.org/568295
{{{ When giving a "References" header in a "mailto:" URL, it does not end up in the final message. Running mutt in gdb shows that it gets successfully parsed and put in the envelope of the message (very precisely, it gets put in the ENVELOPE structure for the message), but after editing the message, the References header is removed. The comment around where it is done (see attached patch) suggests that this is because mutt believes the user *removed* the In-Reply-To header. But there was none to start with, so the user did not remove it. The attached patch fixes the removal condition to not trigger if there was no In-Reply-To header in the message before editing. To reproduce the bug: mutt 'mailto:yours...@example.org?references=<m...@localhost>&Subject=Test' Send the mail, see it has no "References" header. Compare with mutt 'mailto:yours...@example.org?references=<m...@localhost>&In-Reply- To=<y...@localhost>&Subject=Test' Where both headers will be present. }}} The attacched patch fixes the problem -- Ticket URL: <http://dev.mutt.org/trac/ticket/3378> Mutt <http://www.mutt.org/> The Mutt mail user agent