Ticket #3179 (closed defect: fixed)
Attach: pseudoheader doesn't work with files with spaces
| Reported by: | edgewood | Owned by: | mutt-dev |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | mutt | Version: | 1.5.17 |
| Keywords: | Cc: |
Description
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.

