Re: [Mutt] #2995: Mutt is folding subject line folds using a tab,
#2995: Mutt is folding subject line folds using a tab, which appears to be
against
RFC 2822
----------------------+-----------------------------------------------------
Reporter: frnkblk | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone: 1.6
Component: mutt | Version: 1.5.17
Resolution: | Keywords: header folding white-space
----------------------+-----------------------------------------------------
Comment(by pdmef):
I attached a patch that rewrites mutt_write_one_header. The fix is longer
than I though because mutt_write_one_header doesn't actually get a header
line as input but arbitrary parts of a header (in case of $weed being
unset the whole header as one string). Also, most of the time the tag
param is empty as that's part of the value.
I changed all that putting a wrapper in front which separates header lines
as well as header name and value. It's not tested thoroughly enough but it
works for me. The new code is also simple enough to easily make further
enhancements (e.g. fold with tab only for display).
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2995#comment:22>
Mutt <http://www.mutt.org/>
The Mutt mail user agent