bug saving attachments

2008-01-15 Thread Luciano Rocha
Hello, I received a file from a friend starting with '-': --=_NextPart_000_1cd4_6abd_704a Content-Type: application/vnd.ms-powerpoint; name=-Casamento.pps; Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=-Casamento.pps; While saving the attachment, mutt prompted

Re: bug saving attachments

2008-01-15 Thread Rocco Rutte
Hi, * Luciano Rocha wrote: I received a file from a friend starting with '-': --=_NextPart_000_1cd4_6abd_704a Content-Type: application/vnd.ms-powerpoint; name=-Casamento.pps; Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=-Casamento.pps; While saving the

Re: bug saving attachments

2008-01-15 Thread Francis Moreau
On Jan 15, 2008 2:18 PM, Rocco Rutte [EMAIL PROTECTED] wrote: Hi, * Luciano Rocha wrote: I received a file from a friend starting with '-': --=_NextPart_000_1cd4_6abd_704a Content-Type: application/vnd.ms-powerpoint; name=-Casamento.pps; Content-Transfer-Encoding: base64

Re: bug saving attachments

2008-01-15 Thread Luciano Rocha
On Tue, Jan 15, 2008 at 02:18:33PM +0100, Rocco Rutte wrote: Hi, * Luciano Rocha wrote: I received a file from a friend starting with '-': --=_NextPart_000_1cd4_6abd_704a Content-Type: application/vnd.ms-powerpoint; name=-Casamento.pps; Content-Transfer-Encoding: base64

Re: bug saving attachments

2008-01-15 Thread Rocco Rutte
Hi, * Luciano Rocha wrote: On Tue, Jan 15, 2008 at 02:18:33PM +0100, Rocco Rutte wrote: So it's rather undocumented, also see ticket #1719 (http://dev.mutt.org/trac/ticket/1719). Saving to \-Casamento.pps should work. Yeah, but as Francis mentioned, mutt should escape all magic

Re: bug saving attachments

2008-01-15 Thread Michael Kjorling
On 15 Jan 2008 16:23 +0100, by [EMAIL PROTECTED] (Rocco Rutte): Oh, escaping doesn't work as mutt treats the \ literally. So you need to prepend './' (like in deleting a file named '-f' in the current dir). That's what mutt should be abled to do more or less easily. If nothing else, it can