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

Re: [Mutt] #3170: mutt: Attachments are automatically displayed



#3170: mutt: Attachments are automatically displayed even with 'Content-
Disposition: attachment'
-------------------------------+--------------------------------------------
  Reporter:  antonio@xxxxxxxx  |       Owner:  pdmef  
      Type:  defect            |      Status:  started
  Priority:  minor             |   Milestone:  1.6    
 Component:  display           |     Version:  1.5.19 
Resolution:                    |    Keywords:  patch  
-------------------------------+--------------------------------------------

Comment(by vinc17):

 Replying to [comment:6 vinc17]:
 > Now, if the message contains bodyparts with inline ''and'' attachment
 dispositions, the inline ones should be displayed first (in the order they
 appear). Otherwise this can make the message meaningless. I haven't
 checked whether Mutt behaves correctly here.

 It doesn't. See the example I've just attached to this bug report. Mutt
 displays:
 {{{
 [-- Attachement #1 --]
 [-- Type : text/plain, Codage : 7bit, Taille : 0.1K --]

 blah blah. Consider the following table:

 [-- Attachement #2 --]
 [-- Type : text/plain, Codage : 7bit, Taille : 0.2K --]

 +---+---+
 | 1 | 2 |   (A table, here in text/plain, but in
 +---+---+   the reality, the content-type may be
 | 3 | 4 |   more complex, e.g. text/html.)
 +---+---+

 [-- Attachement #3: file.txt --]
 [-- Type : text/plain, Codage : 7bit, Taille : 0.1K --]

 Some very long text attached to the message after writing the table,
 and *not* intended to be displayed with the main body.

 [-- Attachement #4 --]
 [-- Type : text/plain, Codage : 7bit, Taille : 0.1K --]

 As you can see in the above table, blah blah...
 }}}
 I expected Attachment 3 (with "Content-Disposition: attachment", contrary
 to the other ones) not to be displayed here, but after the last inline
 bodypart. Otherwise the "As you can see in the above table" no longer
 makes much sense (remember that in the reality, Attachment 3 can be very
 large, contain tables, and so on).

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