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

[Mutt] #3179: Attach: pseudoheader doesn't work with files with spaces



#3179: Attach: pseudoheader doesn't work with files with spaces
----------------------+-----------------------------------------------------
 Reporter:  edgewood  |       Owner:  mutt-dev
     Type:  defect    |      Status:  new     
 Priority:  minor     |   Milestone:          
Component:  mutt      |     Version:  1.5.17  
 Keywords:            |  
----------------------+-----------------------------------------------------
 I'm running into problems with using the Attach: pseudoheader with files
 with spaces in their names.

 If I try attach a file named 'space test.txt' using "Attach: space
 test.txt", mutt replies "space: unable to attach file".

 If I use "Attach: space\ test.txt", mutt replies "space\: unable to attach
 file".  I've also tried "Attach: 'space test.txt'" and the same with
 double quotes, with similar error messages.

 Mutt's manual indicates that the Attach: pseudoheader allows a file name
 optionally followed by a space and a description, and the error message
 leads me to believe that mutt assumes that any space after the start of
 the filename is the description delimiter.

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