Re: [Mutt] #2014: mutt quote/dequote headers too many times
#2014: mutt quote/dequote headers too many times
--------------------------------------+-------------------------------------
Reporter: ttakah@â | Owner: mutt-dev
Type: defect | Status: new
Priority: trivial | Milestone:
Component: MIME | Version: 1.5.9
Keywords: patch |
--------------------------------------+-------------------------------------
Comment(by brendan):
(these are notes I'm making to myself because I'm probably going to lose
track of this bug again)
I've observed an odd interaction between the quoting logic and
RFC2047-encoded headers. For example, take the header:
{{{
From: =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= <martin@xxxxxxxxxxx>
}}}
In the index, this looks normal:
{{{
"Martin v. LÃwis"
}}}
But in the pager, it looks like this:
{{{
From: "\"Martin v. LÃwis\"" <martin@xxxxxxxxxxx>
}}}
I think the index version is correct, but I'm not sure whether the
2047-encoded header (produced by Thunderbird 2.0.0.22) is sensible --
would something like this make more sense?
{{{
From: "=?ISO-8859-1?Q?Martin_v=2E_L=F6wis?= <martin@xxxxxxxxxxx>"
}}}
That is, instead of embedding the quotes inside the 2047-string, bring
them out.
Either way, it could probably be fixed by making sure the header is
2047-decoded before trying to dequote for display.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2014#comment:13>
Mutt <http://www.mutt.org/>
The Mutt mail user agent