<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2898: mutt-1.5.14: mutt's pager should strip spurrious



#2898: mutt-1.5.14: mutt's pager should strip spurrious ^M, most of the time
---------------------------------------------+------------------------------
  Reporter:  John Hawkinson <jhawk@xxxxxxx>  |       Owner:  UNKNOWN    
      Type:  defect                          |      Status:  new        
  Priority:  minor                           |   Milestone:             
 Component:  display                         |     Version:  1.5.14     
Resolution:                                  |    Keywords:  pager patch
---------------------------------------------+------------------------------

Comment(by madduck):

 Ouch! You can even make mutt create wrong messages itself:

 {{{
 --Dxnq1zWXvFF0Q93v
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 this is a test with different line endings=0D
 =0D
 -- =0D
 martin | http://madduck.net/ | http://two.sentenc.es/=0D
 }}}

 I created a message with mutt, told vim to set the fileformat to DOS, sent
 it GPG-MIME-signed, and found the above in the sent folder and in the
 message when it arrived. Sure enough, {{{^M}}} showed up in the pager.

 http://scratch.madduck.net/.tmp__mutt-piper-1000-28859-17 is the raw
 message (available for the next 30 days only)

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2898#comment:8>
Mutt <http://www.mutt.org/>
The Mutt mail user agent